Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-01-11 13:52:20 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2003-01-11 13:52:20 +0300
commita545b16de6a16edcb2140f2a751297885f71c596 (patch)
tree5e36496091a2d3bcfacabe54b1bed30de9259398
parentc3e8272116e24037d48fa14842789cd085eda937 (diff)
* mingwex/math/llround.c: Correct function name and
change return value to long long.
-rw-r--r--winsup/mingw/ChangeLog5
-rw-r--r--winsup/mingw/mingwex/math/llround.c6
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)