diff options
Diffstat (limited to 'tests/libtcc_test.c')
| -rw-r--r-- | tests/libtcc_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtcc_test.c b/tests/libtcc_test.c index 5a4c800..bead0ff 100644 --- a/tests/libtcc_test.c +++ b/tests/libtcc_test.c @@ -58,7 +58,7 @@ int main(int argc, char **argv) tcc_add_symbol(s, "add", add); /* relocate the code */ - if (tcc_relocate(s) < 0) + if (tcc_relocate(s, TCC_RELOCATE_AUTO) < 0) return 1; /* get entry symbol */ |
