summaryrefslogtreecommitdiff
path: root/parse/fold.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-10-15 21:59:43 -0700
committerOri Bernstein <ori@eigenstate.org>2018-10-15 21:59:43 -0700
commitaeff53ae83c1b00f86934d85033d710f8826ba36 (patch)
tree6f089d885f68c596970e227101d25606b6d8990f /parse/fold.c
parentb17873ed4e6a14786758fd68290ef572b0b88f10 (diff)
downloadmc-aeff53ae83c1b00f86934d85033d710f8826ba36.tar.gz
Disallow negative array sizes. And do some cleanup.
Diffstat (limited to 'parse/fold.c')
-rw-r--r--parse/fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/fold.c b/parse/fold.c
index c13b41c..da97bb5 100644
--- a/parse/fold.c
+++ b/parse/fold.c
@@ -15,7 +15,7 @@
size_t (*sizefn)(Node *n);
-static int
+int
getintlit(Node *n, vlong *v)
{
Node *l;