*/
symlen = 0;
saa_rewind (syms);
- for (i = 0; i < nsyms; i++) {
+ for (i = 0; i < (int)nsyms; i++) {
struct Symbol *sym = saa_rstruct (syms);
if (sym->segment == SECT_BSS)
sym->segment = SECT_DATA, sym->value += sdata.len;
* Write the symbol table.
*/
saa_rewind (syms);
- for (i = 0; i < nsyms; i++) {
+ for (i = 0; i < (int)nsyms; i++) {
struct Symbol *sym = saa_rstruct (syms);
fwriteshort (sym->strpos, as86fp);
fwriteshort (sym->flags, as86fp);