diff options
Diffstat (limited to 'libtcc_test.c')
| -rw-r--r-- | libtcc_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtcc_test.c b/libtcc_test.c index db85bd5..1c87f78 100644 --- a/libtcc_test.c +++ b/libtcc_test.c @@ -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"; |
