Changed the compiler test-suite to work with the fastcall-default version of cc65.

This commit is contained in:
Greg King
2015-04-22 10:05:07 -04:00
parent 8743e9911d
commit b24c87e61f
2 changed files with 8 additions and 1 deletions

View File

@@ -126,7 +126,7 @@ mymain(int argc,char **argv)
} else {
/* why not using a function pointer ? */
f = &fact;
print_num((*(long (*)())f)(n), base);
print_num((*(long (*)(int))f)(n), base);
}
printf("\n");
return 0;