tFix uchar cast. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 438503b4c3db639bb1ee9247e96979364c44389f
(DIR) parent 3bd56b04a8bab7208494fd7dc74af5528fc41604
(HTM) 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(-)
---
(DIR) 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 literal)
fcount = 1;
else {
fcount = 0;
- while (isdigit((uchar)c = *fp++)) {
+ while (isdigit((uchar)(c = *fp++))) {
fcount *= 10;
fcount += c-'0';
}