From 4c99fc497cd0149af5d5596e8c8c59bd7404395c Mon Sep 17 00:00:00 2001 From: Nicholas Estelami Date: Thu, 16 Jun 2022 20:00:38 -0400 Subject: [PATCH] Ready for round 2? --- libultraship/libultraship/Audio.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libultraship/libultraship/Audio.cpp b/libultraship/libultraship/Audio.cpp index 8eeebfa59..675a6af44 100644 --- a/libultraship/libultraship/Audio.cpp +++ b/libultraship/libultraship/Audio.cpp @@ -38,7 +38,7 @@ namespace Ship int dataSize = reader->ReadInt32(); - for (size_t i = 0; i < dataSize; i++) + for (int 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 (size_t i = 0; i < loopStateCnt; i++) + for (int 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 (size_t i = 0; i < bookSize; i++) + for (int i = 0; i < bookSize; i++) entry->book.books.push_back(reader->ReadInt16()); }