@@ -100,7 +100,7 @@ VAL MKCON(VM* vm, VAL cl, int tag, int arity, ...) {
100100 cl -> info.c.tag = tag;
101101 cl -> info.c.arity = arity;
102102 VAL* argptr = (VAL*)(cl -> info.c.args);
103− printf("... %p %p\n", cl, argptr);
103+ // printf("... %p %p\n", cl, argptr);
104104
105105 for (i = 0; i < arity; ++i) {
106106 VAL v = va_arg(args, VAL);
@@ -146,7 +146,7 @@ void dumpVal(VAL v) {
146146 if (v==NULL) return;
147147 int i;
148148 if (ISINT(v)) {
149− printf("%ld ", GETINT(v));
149+ printf("%d ", (int)(GETINT(v)));
150150 return;
151151 }
152152 switch(v->ty) {
@@ -172,7 +172,7 @@ VAL idris_castIntStr(VM* vm, VAL i) {
172172 Closure* cl = allocate(vm, sizeof(Closure) + sizeof(char)*16);
173173 cl -> ty = STRING;
174174 cl -> info.str = (char*)cl + sizeof(Closure);
175− sprintf(cl -> info.str, "%ld", GETINT(i));
175+ sprintf(cl -> info.str, "%d", (int)(GETINT(i)));
176176 return cl;
177177}
178178