fixed some signed/unsigned comparison warnings with -Wsign-compare
[reactos.git] / reactos / lib / crt / stdlib / fcvtbuf.c
index cbec72b..51dcd73 100644 (file)
@@ -29,7 +29,7 @@ fcvtbuf (double value, int ndigits, int *decpt, int *sign, char *buf)
 
   /* Where's the decimal point?  */
   dot = strchr (s, decimal);
-  *decpt = dot ? dot - s : strlen (s);
+  *decpt = dot ? dot - s : (int)strlen (s);
 
   /* SunOS docs says if NDIGITS is 8 or more, produce "Infinity"
      instead of "Inf".  */