Mercurial > hg > qcc
comparison 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 |
comparison
equal
deleted
inserted
replaced
588:99c839b47e5d | 589:49d3fc246344 |
---|---|
8327 break; | 8327 break; |
8328 } | 8328 } |
8329 } | 8329 } |
8330 tok_str_add(&func_str, -1, 0); | 8330 tok_str_add(&func_str, -1, 0); |
8331 tok_str_add(&func_str, 0, 0); | 8331 tok_str_add(&func_str, 0, 0); |
8332 sym->r = (int)func_str.str; | 8332 sym->r = (long)func_str.str; |
8333 } else { | 8333 } else { |
8334 /* compute text section */ | 8334 /* compute text section */ |
8335 cur_text_section = ad.section; | 8335 cur_text_section = ad.section; |
8336 if (!cur_text_section) | 8336 if (!cur_text_section) |
8337 cur_text_section = text_section; | 8337 cur_text_section = text_section; |