diff options
-rw-r--r-- | pr/src/io/prprf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/io/prprf.c b/pr/src/io/prprf.c index ce8d5330..d8dd9ec0 100644 --- a/pr/src/io/prprf.c +++ b/pr/src/io/prprf.c @@ -251,7 +251,7 @@ static int cvt_l(SprintfState *ss, long num, int width, int prec, int radix, int digit = (((unsigned long)num) % radix) & 0xF; *--cvt = hexp[digit]; digits++; - num = (long)((unsigned long)num) / radix; + num = (long)(((unsigned long)num) / radix); } if (digits == 0) { *--cvt = '0'; |