mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:46:13 +00:00
[ROSAPPS] Fix 64 bit issues
This commit is contained in:
parent
c7022c1b0c
commit
9cab5b549d
8 changed files with 30 additions and 30 deletions
|
@ -55,7 +55,7 @@ BOOL CALLBACK EnumSymbolsProc(
|
|||
ULONG SymbolSize,
|
||||
PVOID UserContext)
|
||||
{
|
||||
if ((UINT)UserContext == -1)
|
||||
if ((INT_PTR)UserContext == -1)
|
||||
{
|
||||
printf("%s ", pSymInfo->Name);
|
||||
}
|
||||
|
@ -63,11 +63,11 @@ BOOL CALLBACK EnumSymbolsProc(
|
|||
{
|
||||
if (!bX64)
|
||||
{
|
||||
printf("%s@%d ", pSymInfo->Name, (UINT)UserContext);
|
||||
printf("%s@%Iu ", pSymInfo->Name, (UINT_PTR)UserContext);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("%s <+ %d> ", pSymInfo->Name, (UINT)UserContext);
|
||||
printf("%s <+ %Iu> ", pSymInfo->Name, (UINT_PTR)UserContext);
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
|
@ -173,7 +173,7 @@ cont:
|
|||
for (i = 0; i < dwServiceLimit; i++)
|
||||
{
|
||||
printf("0x%x:", i+0x1000);
|
||||
SymEnumSymbolsForAddr(hProcess, (DWORD64)pdwEntries32[i], EnumSymbolsProc, (PVOID)(DWORD)pW32pArgumentTable[i]);
|
||||
SymEnumSymbolsForAddr(hProcess, (DWORD64)pdwEntries32[i], EnumSymbolsProc, (PVOID)(DWORD_PTR)pW32pArgumentTable[i]);
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ cont:
|
|||
for (i = 0; i < dwServiceLimit; i++)
|
||||
{
|
||||
printf("0x%x:", i+0x1000);
|
||||
SymEnumSymbolsForAddr(hProcess, (DWORD64)pdwEntries64[i], EnumSymbolsProc, (PVOID)(DWORD)pW32pArgumentTable[i]);
|
||||
SymEnumSymbolsForAddr(hProcess, (DWORD64)pdwEntries64[i], EnumSymbolsProc, (PVOID)(DWORD_PTR)pW32pArgumentTable[i]);
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue