dbghelp: Avoid signed-unsigned integer comparisons.

This commit is contained in:
Andrew Talbot 2013-01-14 21:44:19 +00:00 committed by Alexandre Julliard
parent 6eecf4886f
commit ddf922d7a1
2 changed files with 3 additions and 2 deletions

View File

@ -273,7 +273,7 @@ static BOOL elf_map_file(struct elf_map_file_data* emfd, struct image_file_map*
{
static const BYTE elf_signature[4] = { ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3 };
struct stat statbuf;
int i;
unsigned int i;
Elf_Phdr phdr;
size_t tmp, page_mask = sysconf( _SC_PAGESIZE ) - 1;
char* filename;

View File

@ -1370,7 +1370,8 @@ static void codeview_snarf_linetab(const struct msc_debug_info* msc_dbg, const B
{
const BYTE* ptr = linetab;
int nfile, nseg;
int i, j, k;
int i, j;
unsigned int k;
const unsigned int* filetab;
const unsigned int* lt_ptr;
const unsigned short* linenos;