mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:56:05 +00:00
- Fix 2 warnings
svn path=/trunk/; revision=35007
This commit is contained in:
parent
ad456a2ec4
commit
82b0b0ee03
1 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@ static BOOL pe_load_dbg_file(const struct process* pcs, struct module* module,
|
||||||
else
|
else
|
||||||
WINE_ERR("-Unable to peruse .DBG file %s (%s)\n", dbg_name, debugstr_a(tmp));
|
WINE_ERR("-Unable to peruse .DBG file %s (%s)\n", dbg_name, debugstr_a(tmp));
|
||||||
|
|
||||||
if (dbg_mapping) UnmapViewOfFile(dbg_mapping);
|
if (dbg_mapping) UnmapViewOfFile((PVOID)dbg_mapping);
|
||||||
if (hMap) CloseHandle(hMap);
|
if (hMap) CloseHandle(hMap);
|
||||||
if (hFile != INVALID_HANDLE_VALUE) CloseHandle(hFile);
|
if (hFile != INVALID_HANDLE_VALUE) CloseHandle(hFile);
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -266,7 +266,7 @@ static BOOL pe_load_export_debug_info(const struct process* pcs,
|
||||||
for (j = 0; j < exports->NumberOfNames; j++)
|
for (j = 0; j < exports->NumberOfNames; j++)
|
||||||
if ((ordinals[j] == i) && names[j]) break;
|
if ((ordinals[j] == i) && names[j]) break;
|
||||||
if (j < exports->NumberOfNames) continue;
|
if (j < exports->NumberOfNames) continue;
|
||||||
snprintf(buffer, sizeof(buffer), "%d", i + exports->Base);
|
snprintf(buffer, sizeof(buffer), "%lu", i + exports->Base);
|
||||||
symt_new_public(module, NULL, buffer, base + (DWORD)functions[i], 1,
|
symt_new_public(module, NULL, buffer, base + (DWORD)functions[i], 1,
|
||||||
TRUE /* FIXME */, TRUE /* FIXME */);
|
TRUE /* FIXME */, TRUE /* FIXME */);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue