mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 03:23:34 +08:00
[KMTESTS] Fix MSVC build.
This commit is contained in:
parent
0f7dfcaa55
commit
3ad6cee484
@ -42,6 +42,7 @@ TestAMLIllegalIOPortAddresses(void)
|
||||
PHAL_AMLI_BAD_IO_ADDRESS_LIST AddressList;
|
||||
ULONG AddressListLength;
|
||||
ULONG ReturnedLength;
|
||||
ULONG i;
|
||||
|
||||
/* Query required size and check that it's valid */
|
||||
ReturnedLength = 0x55555555;
|
||||
@ -103,7 +104,7 @@ TestAMLIllegalIOPortAddresses(void)
|
||||
|
||||
/* Validate the table against our expectations */
|
||||
ok_eq_ulong(ReturnedLength, sizeof(ExpectedList));
|
||||
for (ULONG i = 0;
|
||||
for (i = 0;
|
||||
i < min(ReturnedLength, sizeof(ExpectedList)) / sizeof(*AddressList);
|
||||
i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user