diff options
author | rsc <devnull@localhost> | 2005-09-09 23:48:39 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-09-09 23:48:39 +0000 |
commit | 438503b4c3db639bb1ee9247e96979364c44389f (patch) | |
tree | 6dda1071dd8e70fdf836c9b796f36a60f0256fcb /src/cmd/db | |
parent | 3bd56b04a8bab7208494fd7dc74af5528fc41604 (diff) | |
download | plan9port-438503b4c3db639bb1ee9247e96979364c44389f.tar.gz plan9port-438503b4c3db639bb1ee9247e96979364c44389f.tar.bz2 plan9port-438503b4c3db639bb1ee9247e96979364c44389f.zip |
Fix uchar cast.
Diffstat (limited to 'src/cmd/db')
-rw-r--r-- | src/cmd/db/format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/db/format.c b/src/cmd/db/format.c index c2b352bc..08068e61 100644 --- a/src/cmd/db/format.c +++ b/src/cmd/db/format.c @@ -26,7 +26,7 @@ scanform(long icount, int prt, char *ifp, Map *map, int literal) fcount = 1; else { fcount = 0; - while (isdigit((uchar)c = *fp++)) { + while (isdigit((uchar)(c = *fp++))) { fcount *= 10; fcount += c-'0'; } |