plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 438503b4c3db639bb1ee9247e96979364c44389f
parent 3bd56b04a8bab7208494fd7dc74af5528fc41604
Author: rsc <devnull@localhost>
Date:   Fri,  9 Sep 2005 23:48:39 +0000

Fix uchar cast.

Diffstat:
Msrc/cmd/db/format.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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'; }