Fixed a couple of warnings.
This commit is contained in:
parent
05d658d012
commit
8ee01679dc
|
@ -1765,7 +1765,7 @@ static BOOL CALLBACK pdb_match(char* file, void* user)
|
|||
{
|
||||
/* accept first file that exists */
|
||||
HANDLE h = CreateFileA(file, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
TRACE("match with %s returns %x\n", file, h);
|
||||
TRACE("match with %s returns %p\n", file, h);
|
||||
if (INVALID_HANDLE_VALUE != h) {
|
||||
CloseHandle(h);
|
||||
return FALSE;
|
||||
|
@ -1787,7 +1787,7 @@ static HANDLE open_pdb_file(const struct process* pcs, const char* filename)
|
|||
{
|
||||
h = CreateFileA(dbg_file_path, GENERIC_READ, FILE_SHARE_READ, NULL,
|
||||
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
TRACE("with %s returns %x\n", dbg_file_path, h);
|
||||
TRACE("with %s returns %p\n", dbg_file_path, h);
|
||||
}
|
||||
return (h == INVALID_HANDLE_VALUE) ? NULL : h;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue