mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
[RTL]
Comparison is always true due to limited range of data type. Patch by Samuel Serapion. CORE-7178 #resolve #comment Committed in r59077. svn path=/trunk/; revision=59077
This commit is contained in:
parent
0bc3ffeb7b
commit
0b66765529
1 changed files with 0 additions and 3 deletions
|
@ -308,9 +308,6 @@ LdrpCompareResourceNames_U(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Fail if ResourceName2 is an ID */
|
|
||||||
if (Entry->Id <= USHRT_MAX) return -1;
|
|
||||||
|
|
||||||
/* Get the resource string */
|
/* Get the resource string */
|
||||||
ResourceString = (PIMAGE_RESOURCE_DIR_STRING_U)(ResourceData +
|
ResourceString = (PIMAGE_RESOURCE_DIR_STRING_U)(ResourceData +
|
||||||
Entry->NameOffset);
|
Entry->NameOffset);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue