aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/db')
-rw-r--r--src/cmd/db/format.c2
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';
}