summaryrefslogtreecommitdiff
path: root/parse/node.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-05-08 00:35:12 -0700
committerOri Bernstein <ori@eigenstate.org>2016-05-08 00:35:12 -0700
commitc08505fb46fd8cdfee6b6f425709e5bc536f6a75 (patch)
tree3f0d42c6b0caa4c1f0bd314995aa61fc4446a1b4 /parse/node.c
parent9bd7deeee3fa7b5c36fca2bb45349fe38847f8ab (diff)
downloadmc-c08505fb46fd8cdfee6b6f425709e5bc536f6a75.tar.gz
Fix FreeBSD and Linux builds.
Diffstat (limited to 'parse/node.c')
-rw-r--r--parse/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse/node.c b/parse/node.c
index ff725e5..36adac8 100644
--- a/parse/node.c
+++ b/parse/node.c
@@ -26,7 +26,7 @@ int lnum(Srcloc l) { return l.line; }
* Bah, this is going to need to know how to fold things.
* FIXME: teach it.
*/
-uint64_t arraysz(Node *sz)
+uvlong arraysz(Node *sz)
{
Node *n;
@@ -270,7 +270,7 @@ Node *mkstr(Srcloc loc, Str val)
return n;
}
-Node *mkint(Srcloc loc, uint64_t val)
+Node *mkint(Srcloc loc, uvlong val)
{
Node *n;