update for HEAD-2003021201
[reactos.git] / ntoskrnl / ldr / resource.c
index 2107463..2e077f5 100644 (file)
@@ -120,7 +120,7 @@ LdrFindResource_U(PVOID BaseAddress,
                    {
                       ws = (PWCHAR)((ULONG)ResDir + (ResEntry->Name & 0x7FFFFFFF));
                       if (!wcsncmp((PWCHAR)Id, ws + 1, *ws ) &&
-                          wcslen((PWCHAR)Id) == (int)*ws )
+                          wcslen((PWCHAR)Id) == (ULONG)*ws )
                         {
                            goto found;
                         }