Formerly ../stdio/_itoa.c.~3~
authorroland <roland>
Sat, 5 Feb 1994 20:39:04 +0000 (20:39 +0000)
committerroland <roland>
Sat, 5 Feb 1994 20:39:04 +0000 (20:39 +0000)
stdio/_itoa.c

index 5c3488d..431dcc1 100644 (file)
@@ -38,7 +38,7 @@ DEFUN(_itoa, (value, buflim, base, upper_case),
   while (value > 0)
     {
       *--bp = digits[value % base];
-      num /= base;
+      value /= base;
     }
 
   return bp;