diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ tokenize(char *p) if (isdigit(*p)) { char *q = p; - const unsigned long val = strtoul(p, &p, 10); + const unsigned long val = strtoul(p, &p, 0); cur = cur->next = new_token(TOK_NUM, q, p); cur->val = val; continue; |