some %x -> %p fixes Modified: trunk/reactos/lib/rtl/env.c Modified: trunk/reactos/lib/rtl/heap.c Modified: trunk/reactos/lib/rtl/image.c Modified: trunk/reactos/lib/rtl/process.c Modified: trunk/reactos/lib/rtl/unicode.c _____
Modified: trunk/reactos/lib/rtl/env.c --- trunk/reactos/lib/rtl/env.c 2005-07-04 22:22:22 UTC (rev 16417) +++ trunk/reactos/lib/rtl/env.c 2005-07-04 22:25:46 UTC (rev 16418) @@ -251,7 +251,7 @@
{ PVOID EnvPtr;
- DPRINT("NewEnvironment %x OldEnvironment %x\n", + DPRINT("NewEnvironment 0x%p OldEnvironment 0x%p\n", NewEnvironment, OldEnvironment);
RtlAcquirePebLock(); _____
Modified: trunk/reactos/lib/rtl/heap.c --- trunk/reactos/lib/rtl/heap.c 2005-07-04 22:22:22 UTC (rev 16417) +++ trunk/reactos/lib/rtl/heap.c 2005-07-04 22:25:46 UTC (rev 16418) @@ -937,7 +937,7 @@
} while ( Frame != 0 && (ULONG)Frame != 0xDEADBEEF && (ULONG)Frame != 0xcdcdcdcd && (ULONG)Frame != 0xcccccccc && i++ < FrameCount ) { - DbgPrint("<%X>", (PVOID)Frame[1]); + DbgPrint("<%p>", (PVOID)Frame[1]); if (Frame[1] == 0xdeadbeef) break; Frame = (PULONG)Frame[0]; _____
Modified: trunk/reactos/lib/rtl/image.c --- trunk/reactos/lib/rtl/image.c 2005-07-04 22:22:22 UTC (rev 16417) +++ trunk/reactos/lib/rtl/image.c 2005-07-04 22:25:46 UTC (rev 16418) @@ -28,12 +28,12 @@
if (DosHeader && DosHeader->e_magic != IMAGE_DOS_SIGNATURE) { DPRINT1("DosHeader->e_magic %x\n", DosHeader->e_magic); - DPRINT1("NtHeader %x\n", (BaseAddress + DosHeader->e_lfanew)); + DPRINT1("NtHeader 0x%p\n", ((ULONG_PTR)BaseAddress + DosHeader->e_lfanew)); }
if (DosHeader && DosHeader->e_magic == IMAGE_DOS_SIGNATURE) { - NtHeader = (PIMAGE_NT_HEADERS)(BaseAddress + DosHeader->e_lfanew); + NtHeader = (PIMAGE_NT_HEADERS)((ULONG_PTR)BaseAddress + DosHeader->e_lfanew); if (NtHeader->Signature == IMAGE_NT_SIGNATURE) return NtHeader; } _____
Modified: trunk/reactos/lib/rtl/process.c --- trunk/reactos/lib/rtl/process.c 2005-07-04 22:22:22 UTC (rev 16417) +++ trunk/reactos/lib/rtl/process.c 2005-07-04 22:25:46 UTC (rev 16418) @@ -35,7 +35,7 @@
RtlDeNormalizeProcessParams (Ppb);
-// DbgPrint("ImagePathName %x\n", Ppb->ImagePathName.Buffer); +/* DbgPrint("ImagePathName 0x%p\n", Ppb->ImagePathName.Buffer); */
InitializeObjectAttributes(&ObjectAttributes, ImageFileName, _____
Modified: trunk/reactos/lib/rtl/unicode.c --- trunk/reactos/lib/rtl/unicode.c 2005-07-04 22:22:22 UTC (rev 16417) +++ trunk/reactos/lib/rtl/unicode.c 2005-07-04 22:25:46 UTC (rev 16418) @@ -516,7 +516,7 @@
{ ULONG DestSize;
- DPRINT("RtlInitUnicodeString(DestinationString %x, SourceString %x)\n", + DPRINT("RtlInitUnicodeString(DestinationString 0x%p, SourceString 0x%p)\n", DestinationString, SourceString);