projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oops, I didn't mean to commit that...
[reactos.git]
/
reactos
/
apps
/
utils
/
ps
/
ps.c
diff --git
a/reactos/apps/utils/ps/ps.c
b/reactos/apps/utils/ps/ps.c
index
d72a03b
..
48c0908
100644
(file)
--- 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 );
}
(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);
}