tFix uchar cast. - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
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: | |
M src/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 | |
t@@ -26,7 +26,7 @@ scanform(long icount, int prt, char *ifp, Map *map, int lite… | |
fcount = 1; | |
else { | |
fcount = 0; | |
- while (isdigit((uchar)c = *fp++)) { | |
+ while (isdigit((uchar)(c = *fp++))) { | |
fcount *= 10; | |
fcount += c-'0'; | |
} |