aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc/cc.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-19 16:37:23 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-19 16:37:23 -0700
commit13772a8a2120017981d280bfe120fdbb74f27860 (patch)
tree0dcd2245580572297fe258f3bc4d681df2756680 /sys/cmd/cc/cc.c
parent02103dfd518faf327f7edc13695435308ddcead8 (diff)
fix: many bug fixes to number parsing
Diffstat (limited to 'sys/cmd/cc/cc.c')
-rw-r--r--sys/cmd/cc/cc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cmd/cc/cc.c b/sys/cmd/cc/cc.c
index 87d9a35..e348893 100644
--- a/sys/cmd/cc/cc.c
+++ b/sys/cmd/cc/cc.c
@@ -143,7 +143,7 @@ makeio()
.pos = C.io->buf.buf + bufio·ungets,
.end = C.io->buf.buf + bufio·ungets,
};
- C.io->b = C.io->buf.buf;
+ C.io->b = C.io->buf.beg;
return C.io++;
}