x86-64: use uplong for symbol values

This commit is contained in:
grischka
2010-01-14 20:56:04 +01:00
parent 2341ee5142
commit 5299142286
4 changed files with 13 additions and 15 deletions

View File

@ -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);