From 547c5085a5f6f65a7c767eeef74e6decfdfb7d80 Mon Sep 17 00:00:00 2001 From: piz-ewing Date: Tue, 22 Jun 2021 14:45:05 +0800 Subject: [PATCH] fix clang compile error from issue #64 error: first parameter of 'main' (argument count) must be of type 'int' --- c4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c4.c b/c4.c index 0340255..eafddb7 100644 --- a/c4.c +++ b/c4.c @@ -330,7 +330,9 @@ void stmt() } } +#undef int int main(int argc, char **argv) +#define int long long { int fd, bt, ty, poolsz, *idmain; int *pc, *sp, *bp, a, cycle; // vm registers