aboutsummaryrefslogtreecommitdiff
path: root/libtcc.h
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.h
parent2341ee5142c184e06964f66696ebf88931953e7d (diff)
downloadtinycc-5299142286b4f5e6344ea9e2f905cf2e84566006.tar.gz
tinycc-5299142286b4f5e6344ea9e2f905cf2e84566006.tar.bz2
x86-64: use uplong for symbol values
Diffstat (limited to 'libtcc.h')
-rw-r--r--libtcc.h2
1 files changed, 1 insertions, 1 deletions
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. */