mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
[RTL]
Fix a bug I introduced in r55527 svn path=/trunk/; revision=55633
This commit is contained in:
parent
1a194db4e7
commit
bd3f5b9708
|
@ -2545,7 +2545,7 @@ RtlFindCharInUnicodeString(
|
||||||
Length = SearchString->Length / sizeof(WCHAR);
|
Length = SearchString->Length / sizeof(WCHAR);
|
||||||
if (Flags & RTL_FIND_CHAR_IN_UNICODE_STRING_START_AT_END)
|
if (Flags & RTL_FIND_CHAR_IN_UNICODE_STRING_START_AT_END)
|
||||||
{
|
{
|
||||||
for (i = Length - 1; i >= 0; i--)
|
for (i = Length - 1; (SHORT)i >= 0; i--)
|
||||||
{
|
{
|
||||||
Found = RtlpIsCharInUnicodeString(SearchString->Buffer[i], MatchString, CaseInSensitive);
|
Found = RtlpIsCharInUnicodeString(SearchString->Buffer[i], MatchString, CaseInSensitive);
|
||||||
if (Found == WantToFind)
|
if (Found == WantToFind)
|
||||||
|
|
Loading…
Reference in a new issue