From 438503b4c3db639bb1ee9247e96979364c44389f Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 9 Sep 2005 23:48:39 +0000 Subject: Fix uchar cast. --- src/cmd/db/format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/db') 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'; } -- cgit v1.2.3