Use SIZE_T for length limiter
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
252eb5c825
commit
67acacf528
@ -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
|
||||
|
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user