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 /winsup/mingw/mingwex/math
parentc3e8272116e24037d48fa14842789cd085eda937 (diff)
* mingwex/math/llround.c: Correct function name and
change return value to long long.
Diffstat (limited to 'winsup/mingw/mingwex/math')
-rw-r--r--winsup/mingw/mingwex/math/llround.c6
1 files changed, 3 insertions, 3 deletions
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)