Use SIZE_T for length limiter
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Rafal Kupiec 2022-09-26 23:02:38 +02:00
parent 252eb5c825
commit 67acacf528
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ XTCDECL
INT
RtlWideStringCompare(IN CONST PWCHAR String1,
IN CONST PWCHAR String2,
IN CONST ULONG Length);
IN CONST SIZE_T Length);
XTCDECL
PWCHAR

View File

@ -29,9 +29,9 @@ XTCDECL
INT
RtlWideStringCompare(IN CONST PWCHAR String1,
IN CONST PWCHAR String2,
IN CONST ULONG Length)
IN CONST SIZE_T Length)
{
ULONG Index;
SIZE_T Index;
/* Iterate through the strings */
for(Index = 0; ; Index++) {