Cast third parameter of elf_search_and_load_file() to proper type.

This commit is contained in:
Gerald Pfeifer 2004-04-07 19:06:10 +00:00 committed by Alexandre Julliard
parent 8e106f2f7b
commit cd69b118c2
1 changed files with 4 additions and 2 deletions

View File

@ -512,7 +512,8 @@ BOOL elf_synchronize_module_list(struct process* pcs)
read_mem(pcs->handle, (ULONG)lm.l_name, bufstr, sizeof(bufstr)))
{
bufstr[sizeof(bufstr) - 1] = '\0';
elf_search_and_load_file(pcs, bufstr, lm.l_addr, &elf_info);
elf_search_and_load_file(pcs, bufstr, (unsigned long)lm.l_addr,
&elf_info);
}
}
@ -604,7 +605,8 @@ struct module* elf_load_module(struct process* pcs, const char* name)
if (!p++) p = bufstr;
if (!memcmp(p, xname, strlen(xname)))
{
sym_type = elf_search_and_load_file(pcs, bufstr, lm.l_addr, &elf_info);
sym_type = elf_search_and_load_file(pcs, bufstr,
(unsigned long)lm.l_addr, &elf_info);
break;
}
}