diff options
| author | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2022-06-16 19:46:07 -0400 |
|---|---|---|
| committer | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2022-06-16 20:35:52 -0400 |
| commit | f581e3e79f6445ca71a123d761ea43561baa0732 (patch) | |
| tree | f2e6eb49b7d4292af1ef931913505a00635c7b8a | |
| parent | 2a2ef173028e75b28482cc876fa2d21a740ff026 (diff) | |
Let's try again
| -rw-r--r-- | libultraship/libultraship/Audio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libultraship/libultraship/Audio.cpp b/libultraship/libultraship/Audio.cpp index a65fc43d9..8eeebfa59 100644 --- a/libultraship/libultraship/Audio.cpp +++ b/libultraship/libultraship/Audio.cpp @@ -38,7 +38,7 @@ namespace Ship int dataSize = reader->ReadInt32(); - for (uint32_t i = 0; i < dataSize; i++) + for (size_t i = 0; i < dataSize; i++) entry->data.push_back(reader->ReadUByte()); entry->loop.start = reader->ReadUInt32(); @@ -47,7 +47,7 @@ namespace Ship int loopStateCnt = reader->ReadUInt32(); - for (uint32_t i = 0; i < loopStateCnt; i++) + for (size_t i = 0; i < loopStateCnt; i++) entry->loop.states.push_back(reader->ReadInt16()); entry->book.order = reader->ReadInt32(); @@ -55,7 +55,7 @@ namespace Ship int bookSize = reader->ReadInt32(); - for (uint32_t i = 0; i < bookSize; i++) + for (size_t i = 0; i < bookSize; i++) entry->book.books.push_back(reader->ReadInt16()); } |
