aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
authorgrischka <grischka>2010-01-14 20:56:04 +0100
committergrischka <grischka>2010-01-14 20:59:42 +0100
commit5299142286b4f5e6344ea9e2f905cf2e84566006 (patch)
tree1d5e3879711e41f9c223e55146e6c241d60256ff /libtcc.c
parent2341ee5142c184e06964f66696ebf88931953e7d (diff)
downloadtinycc-5299142286b4f5e6344ea9e2f905cf2e84566006.tar.gz
tinycc-5299142286b4f5e6344ea9e2f905cf2e84566006.tar.bz2
x86-64: use uplong for symbol values
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtcc.c b/libtcc.c
index ae80bc6..e0e8f91 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -1213,7 +1213,7 @@ LIBTCCAPI int tcc_add_library(TCCState *s, const char *libraryname)
return -1;
}
-LIBTCCAPI int tcc_add_symbol(TCCState *s, const char *name, void *val)
+LIBTCCAPI int tcc_add_symbol(TCCState *s, const char *name, const void *val)
{
#ifdef TCC_TARGET_PE
pe_putimport(s, 0, name, val);