mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:45:53 +00:00
[RTL]
Fix MSVC warning about signed/unsigned mismatch. In this case it was not a bug, because the compiler implicitly casts to unsigned, when signed and unsigned are compared, so (-1 < 0x23U) is false. svn path=/trunk/; revision=53163
This commit is contained in:
parent
f7ead57f00
commit
8db60ead01
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ ULONG WINAPI RtlNtStatusToDosErrorNoTeb( NTSTATUS status )
|
|||
|
||||
while (table->start)
|
||||
{
|
||||
if (status < table->start) break;
|
||||
if (status < table->end)
|
||||
if ((ULONG)status < table->start) break;
|
||||
if ((ULONG)status < table->end)
|
||||
{
|
||||
DWORD ret = table->table[status - table->start];
|
||||
/* unknown entries are 0 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue