api change

This commit is contained in:
bellard
2002-07-24 22:12:38 +00:00
parent 3f13ae4961
commit b2834b35b5
2 changed files with 21 additions and 12 deletions

View File

@ -49,7 +49,7 @@ int main(int argc, char **argv)
/* as a test, we add a symbol that the compiled program can be
linked with. You can have a similar result by opening a dll
with tcc_add_dll(() and using its symbols directly. */
tcc_add_symbol(s, "add", (void *)&add);
tcc_add_symbol(s, "add", (unsigned long)&add);
args[0] = "";
args[1] = "32";