projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f917dbb
)
- Fixed RtlNtStatusToDosErrorNoTeb.
author
Filip Navara
<filip.navara@gmail.com>
Fri, 27 Feb 2004 05:50:56 +0000
(
05:50
+0000)
committer
Filip Navara
<filip.navara@gmail.com>
Fri, 27 Feb 2004 05:50:56 +0000
(
05:50
+0000)
svn path=/trunk/; revision=8423
reactos/ntoskrnl/rtl/error.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/rtl/error.c
b/reactos/ntoskrnl/rtl/error.c
index
9bc78ea
..
25c7024
100644
(file)
--- a/
reactos/ntoskrnl/rtl/error.c
+++ b/
reactos/ntoskrnl/rtl/error.c
@@
-1,4
+1,4
@@
-/* $Id: error.c,v 1.
9 2003/07/11 01:23:15 royce
Exp $
+/* $Id: error.c,v 1.
10 2004/02/27 05:50:56 navaraf
Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@
-881,10
+881,10
@@
RtlNtStatusToDosErrorNoTeb(IN NTSTATUS Status)
while (Table->Start)
{
- if (
Status < (NTSTATUS)
Table->Start)
+ if (
(ULONG)Status <
Table->Start)
break;
- if (
Status < (NTSTATUS)
Table->End)
+ if (
(ULONG)Status <
Table->End)
{
DWORD ret = Table->Table[Status - Table->Start];
if (!ret)