From a545b16de6a16edcb2140f2a751297885f71c596 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sat, 11 Jan 2003 10:52:20 +0000 Subject: [PATCH] * mingwex/math/llround.c: Correct function name and change return value to long long. --- winsup/mingw/ChangeLog | 5 +++++ 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 + + * mingwex/math/llround.c: Correct function name and + change return value to long long. + 2003-01-07 Danny Smith * 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 #include -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)