Use size_t.

This commit is contained in:
2016-02-04 14:37:54 -05:00
parent b50313da98
commit 8be4b5bb0e
1 changed files with 1 additions and 1 deletions

View File

@ -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;