diff options
-rw-r--r-- | winsup/mingw/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/mingw/mingwex/math/llround.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 4b8fb8924..5f65876ec 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,8 @@ +2003-01-11 Danny Smith <dannysmith@users.sourceforge.net> + + * mingwex/math/llround.c: Correct function name and + change return value to long long. + 2003-01-07 Danny Smith <dannysmith@users.sourceforge.net> * include/ctype.h (__isascii): Don't cast arg to unsigned. diff --git a/winsup/mingw/mingwex/math/llround.c b/winsup/mingw/mingwex/math/llround.c index 8b9fe9781..f8fafc48d 100644 --- a/winsup/mingw/mingwex/math/llround.c +++ b/winsup/mingw/mingwex/math/llround.c @@ -1,9 +1,9 @@ #include <fenv.h> #include <math.h> -long -lround (double x) { - long retval; +long long +llround (double x) { + long long retval; unsigned short saved_cw, _cw; __asm__ ( "fnstcw %0;" : "=m" (saved_cw) |