oops, I didn't mean to commit that...
[reactos.git] / reactos / apps / utils / ps / ps.c
index d72a03b..48c0908 100644 (file)
@@ -273,8 +273,7 @@ int main()
                                  (WNDENUMPROC) EnumThreadProc,
                                  (LPARAM)(LPTSTR) szWindowName );
           }
                                  (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);
        } 
           CurrentProcess = (PSYSTEM_PROCESSES)((ULONG_PTR)CurrentProcess +
                             (ULONG_PTR)CurrentProcess->NextEntryOffset);
        }