fix a couple warnings when building on win32

This commit is contained in:
Scott Graham 2012-05-09 20:48:16 -07:00
parent 82fafa7b56
commit 51b1f7ef98
2 changed files with 2 additions and 2 deletions

View file

@ -643,7 +643,7 @@ x86_find_match(x86_id_insn *id_insn, yasm_insn_operand **ops,
unsigned int misc_flags = info->misc_flags;
unsigned int size;
int mismatch = 0;
int i;
unsigned int i;
/* Match CPU */
if (mode_bits != 64 && (misc_flags & ONLY_64))

View file

@ -98,7 +98,7 @@ elf_set_arch(yasm_arch *arch, yasm_symtab *symtab, int bits_pref)
elf_march->ssyms[i].name,
NULL, 0, 0);
yasm_symrec_add_data(elf_ssyms[i], &elf_ssym_symrec_data,
&elf_march->ssyms[i]);
(void*)&elf_march->ssyms[i]);
}
}