summaryrefslogtreecommitdiff
path: root/outaout.c
diff options
context:
space:
mode:
Diffstat (limited to 'outaout.c')
-rw-r--r--outaout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/outaout.c b/outaout.c
index 22ac2296..b8e74be5 100644
--- a/outaout.c
+++ b/outaout.c
@@ -825,10 +825,10 @@ static void aout_write_relocs (struct Reloc *r)
static void aout_write_syms (void)
{
- int i;
+ unsigned long i;
saa_rewind (syms);
- for (i=0; i<nsyms; i++) {
+ for (i = 0; i < nsyms; i++) {
struct Symbol *sym = saa_rstruct(syms);
fwritelong (sym->strpos, aoutfp);
fwritelong ((long)sym->type & ~SYM_WITH_SIZE, aoutfp);