Author: sserapion
Date: Fri Sep 12 21:00:44 2008
New Revision: 36174
URL:
http://svn.reactos.org/svn/reactos?rev=36174&view=rev
Log:
Fix warnings/errors in 64bit build.
Modified:
branches/ros-amd64-bringup/reactos/base/applications/taskmgr/perfdata.c
Modified: branches/ros-amd64-bringup/reactos/base/applications/taskmgr/perfdata.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/applications/taskmgr/perfdata.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/applications/taskmgr/perfdata.c [iso-8859-1]
Fri Sep 12 21:00:44 2008
@@ -88,7 +88,7 @@
void PerfDataRefresh(void)
{
- SIZE_T ulSize;
+ ULONG ulSize;
NTSTATUS status;
LPBYTE pBuffer;
ULONG BufferSize;
@@ -393,7 +393,7 @@
for (Index = 0; Index < ProcessCount; Index++)
{
- if ((DWORD)pPerfData[Index].ProcessId == dwProcessId)
+ if (PtrToUlong(pPerfData[Index].ProcessId) == dwProcessId)
{
FoundIndex = Index;
break;
@@ -412,7 +412,7 @@
EnterCriticalSection(&PerfDataCriticalSection);
if (Index < ProcessCount)
- ProcessId = (ULONG)pPerfData[Index].ProcessId;
+ ProcessId = PtrToUlong(pPerfData[Index].ProcessId);
else
ProcessId = 0;