summaryrefslogtreecommitdiff
path: root/parse/node.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-03-27 00:04:55 -0700
committerOri Bernstein <ori@eigenstate.org>2017-03-27 00:04:55 -0700
commitf6c992a0515af88bb410ca4ae7e1907db0fc3758 (patch)
treeb32697c073dfe2bbc86bf6b7143a39ce37c14263 /parse/node.c
parent338dd14ef95af6d4682cea82bfddee77b68b3d02 (diff)
downloadmc-f6c992a0515af88bb410ca4ae7e1907db0fc3758.tar.gz
Move to using Loc instead of Node*
Using Node* sucked for generating QBE code.
Diffstat (limited to 'parse/node.c')
-rw-r--r--parse/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/node.c b/parse/node.c
index 936db36..29ab2ef 100644
--- a/parse/node.c
+++ b/parse/node.c
@@ -253,7 +253,7 @@ Node *genlbl(Srcloc loc)
{
char buf[128];
- genlblstr(buf, 128, "");
+ genlblstr(buf, sizeof buf, "");
return mklbl(loc, buf);
}