summaryrefslogtreecommitdiffstats
path: root/lib/itoa.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/itoa.c')
-rw-r--r--lib/itoa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/itoa.c b/lib/itoa.c
index 57f0c22..722c610 100644
--- a/lib/itoa.c
+++ b/lib/itoa.c
@@ -8,7 +8,6 @@ ltostr(char *s, int size, unsigned long l, bool sign, int radix)
if((long)l < 0 && sign) {
l = -((long)l);
if(size > wsize && s != 0) s[wsize] = '-';
- wsize++;
}
for(unsigned long lv = l; lv != 0; lv /= radix) {