* src/SDCCicode.c (geniCodeArray): applied patch from Stas Sergeev proposed in FR...
[fw/sdcc] / device / lib / _sint2fs.c
index 4ee9c8008dd6e5cca2ec786c3a01dd8b39eeabb8..0c86277cd12eac38b817cfb1ce41d103c64e46dd 100644 (file)
@@ -1,7 +1,6 @@
-float __slong2fs (signed long sl);
+#include <float.h>
 
 /* convert signed int to float */
 float __sint2fs (signed int si) {
-  signed long sl=si;
-  return __slong2fs(sl);
+  return __slong2fs(si);
 }