Use size_t.
This commit is contained in:
parent
b50313da98
commit
8be4b5bb0e
|
@ -69,7 +69,7 @@ void Mempak::Format(int32_t Control)
|
|||
|
||||
memcpy(&Mempaks[Control][0], &Initialize[0], sizeof(Initialize));
|
||||
|
||||
for (int32_t count = sizeof(Initialize); count < 0x8000; count += 2)
|
||||
for (size_t count = sizeof(Initialize); count < 0x8000; count += 2)
|
||||
{
|
||||
Mempaks[Control][count] = 0x00;
|
||||
Mempaks[Control][count + 1] = 0x03;
|
||||
|
|
Loading…
Reference in New Issue