aboutsummaryrefslogtreecommitdiff
path: root/tcccoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcccoff.c')
-rw-r--r--tcccoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcccoff.c b/tcccoff.c
index 1ee9b0c..ddb296d 100644
--- a/tcccoff.c
+++ b/tcccoff.c
@@ -940,7 +940,7 @@ int tcc_load_coff(TCCState * s1, int fd)
if (name[0] == '_' && strcmp(name, "_main") != 0)
name++;
- tcc_add_symbol(s1, name, csym.n_value);
+ tcc_add_symbol(s1, name, (void*)csym.n_value);
}
// skip any aux records