* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / device / lib / modff.c
index ace1565b6e772db5bf19154366e7000ad121d589..46828764275735ff65e851b0030eaba44823ccf5 100644 (file)
@@ -22,6 +22,6 @@
 
 float modff(float x, float * y)
 {
-    *y=((int)x);
+    *y=(long)x;
     return (x-*y);
 }