From 5299142286b4f5e6344ea9e2f905cf2e84566006 Mon Sep 17 00:00:00 2001 From: grischka Date: Thu, 14 Jan 2010 20:56:04 +0100 Subject: x86-64: use uplong for symbol values --- libtcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtcc.c') 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); -- cgit v1.3.1