git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update for HEAD-2003021201
[reactos.git]
/
ntoskrnl
/
ldr
/
resource.c
diff --git
a/ntoskrnl/ldr/resource.c
b/ntoskrnl/ldr/resource.c
index
2107463
..
2e077f5
100644
(file)
--- a/
ntoskrnl/ldr/resource.c
+++ b/
ntoskrnl/ldr/resource.c
@@
-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;
}