Author: spetreolle
Date: Thu Feb 22 21:48:01 2007
New Revision: 25876
URL:
http://svn.reactos.org/svn/reactos?rev=25876&view=rev
Log:
fix build
Modified:
trunk/reactos/ntoskrnl/mm/sysldr.c
Modified: trunk/reactos/ntoskrnl/mm/sysldr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/sysldr.c?rev=2…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/sysldr.c (original)
+++ trunk/reactos/ntoskrnl/mm/sysldr.c Thu Feb 22 21:48:01 2007
@@ -148,7 +148,7 @@
/* Get the hint and check if it's valid */
Hint = NameImport->Hint;
if ((Hint < ExportDirectory->NumberOfNames) &&
- !(strcmp(NameImport->Name, (PCHAR)DllBase + NameTable[Hint])))
+ !(strcmp((PCHAR) NameImport->Name, (PCHAR)DllBase + NameTable[Hint])))
{
/* We have a match, get the ordinal number from here */
Ordinal = OrdinalTable[Hint];
@@ -163,7 +163,7 @@
Mid = (Low + High) >> 1;
/* Compare name */
- Ret = strcmp(NameImport->Name, (PCHAR)DllBase + NameTable[Mid]);
+ Ret = strcmp((PCHAR)NameImport->Name, (PCHAR)DllBase +
NameTable[Mid]);
if (Ret < 0)
{
/* Update high */