summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc <devnull@localhost>1998-04-22 22:36:47 +0000
committerwtc <devnull@localhost>1998-04-22 22:36:47 +0000
commit7e4fcb466904c0f88867c16fbd8ead62c83389a6 (patch)
treeb12c47fff00c76ad6bb4956d615b2b85440df1c8
parent238caaecf6b62fdc9ec1cb0f8e7b395a63dbc9ff (diff)
downloadnspr-hg-7e4fcb466904c0f88867c16fbd8ead62c83389a6.tar.gz
Added parentheses around a type cast. Fix provided by Kipp HickmannOJI_19980423_BASE
<kipp@netscape.com>.
-rw-r--r--pr/src/io/prprf.c2
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';