diff tcc.c @ 589:49d3fc246344

Small fix for building on a 64 bit host.
author Rob Landley <rob@landley.net>
date Sun, 06 Apr 2008 16:10:01 -0500
parents 99c839b47e5d
children 04ef85a39cf4
line wrap: on
line diff
--- a/tcc.c	Sun Apr 06 15:11:54 2008 -0500
+++ b/tcc.c	Sun Apr 06 16:10:01 2008 -0500
@@ -8329,7 +8329,7 @@
                     }
                     tok_str_add(&func_str, -1, 0);
                     tok_str_add(&func_str, 0, 0);
-                    sym->r = (int)func_str.str;
+                    sym->r = (long)func_str.str;
                 } else {
                     /* compute text section */
                     cur_text_section = ad.section;