Warnings from Calling memory addresses
Posted: Thu Apr 24, 2008 8:34 pm
When I have loaded a binary file into a buffer, say, named
and I want to call it, I define a
variable, and set the equal:
and go
When I do so, I get a warning message:
Is there a way in the coding to get rid of that?
-JL
Code: Select all
char buf[1024]
Code: Select all
char (*c)();
Code: Select all
c = buf;
Code: Select all
c();
Code: Select all
warning: assignment from incompatible pointer type
-JL