projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed some signed/unsigned comparison warnings with -Wsign-compare
[reactos.git]
/
reactos
/
lib
/
crt
/
stdlib
/
fcvtbuf.c
diff --git
a/reactos/lib/crt/stdlib/fcvtbuf.c
b/reactos/lib/crt/stdlib/fcvtbuf.c
index
cbec72b
..
51dcd73
100644
(file)
--- a/
reactos/lib/crt/stdlib/fcvtbuf.c
+++ b/
reactos/lib/crt/stdlib/fcvtbuf.c
@@
-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". */