ref: 8fae6b2ae74ef759f7b414b07d6bf6147d356645
parent: 71f6a35ffe9d75fa51f059f261a671c5561d14b6
parent: 6007029a7fcb1184f5f3d698ed55f96fa4812ac1
author: Ori Bernstein <[email protected]>
date: Wed Jun 4 06:19:53 EDT 2014
Merge branch 'master' of git+ssh://git.eigenstate.org/git/ori/mc
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -646,7 +646,7 @@
} else {
t = mktok(Tintlit);
t->str = strdupn(&fbuf[start], fidx - start);
- t->intval = strtol(t->str, NULL, base);
+ t->intval = strtoull(t->str, NULL, base);
/* check suffixes:
* u -> unsigned
* l -> 64 bit