Changed the compiler test-suite to work with the fastcall-default version of cc65.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user