From f7140e3afe47cf8824f3535dc7cb413b5dc115d2 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Mon, 28 Nov 2005 23:54:06 +0000 Subject: [PATCH] oops, I didn't mean to commit that... svn path=/trunk/; revision=19736 --- reactos/apps/utils/ps/ps.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/apps/utils/ps/ps.c b/reactos/apps/utils/ps/ps.c index d72a03b2303..48c09088c52 100644 --- a/reactos/apps/utils/ps/ps.c +++ b/reactos/apps/utils/ps/ps.c @@ -273,8 +273,7 @@ int main() (WNDENUMPROC) EnumThreadProc, (LPARAM)(LPTSTR) szWindowName ); } -typedef __attribute__((mode (__pointer__))) unsigned long ULONG_PTRX; -CurrentProcess = (PSYSTEM_PROCESSES)((ULONG_PTRX)CurrentProcess + 1); + CurrentProcess = (PSYSTEM_PROCESSES)((ULONG_PTR)CurrentProcess + (ULONG_PTR)CurrentProcess->NextEntryOffset); }