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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtcc.h') diff --git a/libtcc.h b/libtcc.h index ada20c2..b661fda 100644 --- a/libtcc.h +++ b/libtcc.h @@ -80,7 +80,7 @@ LIBTCCAPI int tcc_add_library_path(TCCState *s, const char *pathname); LIBTCCAPI int tcc_add_library(TCCState *s, const char *libraryname); /* add a symbol to the compiled program */ -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); /* output an executable, library or object file. DO NOT call tcc_relocate() before. */ -- cgit v1.3.1