summaryrefslogtreecommitdiff
path: root/ZAPD/ZRoom/Commands/SetTimeSettings.cpp
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2021-04-24 16:42:52 -0400
committerGitHub <noreply@github.com>2021-04-24 16:42:52 -0400
commit6d27dbaab3b32ccebb076895fac3cc6aa3240d6c (patch)
tree601c6ab5bef2f93b6d6ef4ba5506eb04dfb59c9f /ZAPD/ZRoom/Commands/SetTimeSettings.cpp
parentee8bdea252db4c764f4a2567c32754118fdce10b (diff)
Fix most -Wall warnings (#115)
* started on basic type errors * Done. For now * remove libgfxd binary * Most warnings fixed * Fix conflicts and new warnings * Makefile * Sig * Clang format * destructor * Add a bunch of destructors * clear the scalars vector after freeing the elements * PR fixes (Anghelo Alf) * Fix most clang -Wall warnings
Diffstat (limited to 'ZAPD/ZRoom/Commands/SetTimeSettings.cpp')
-rw-r--r--ZAPD/ZRoom/Commands/SetTimeSettings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPD/ZRoom/Commands/SetTimeSettings.cpp b/ZAPD/ZRoom/Commands/SetTimeSettings.cpp
index 6e3272d..0f5d449 100644
--- a/ZAPD/ZRoom/Commands/SetTimeSettings.cpp
+++ b/ZAPD/ZRoom/Commands/SetTimeSettings.cpp
@@ -4,7 +4,7 @@
using namespace std;
-SetTimeSettings::SetTimeSettings(ZRoom* nZRoom, std::vector<uint8_t> rawData, int rawDataIndex)
+SetTimeSettings::SetTimeSettings(ZRoom* nZRoom, std::vector<uint8_t> rawData, uint32_t rawDataIndex)
: ZRoomCommand(nZRoom, rawData, rawDataIndex)
{
hour = rawData[rawDataIndex + 4];
@@ -12,7 +12,7 @@ SetTimeSettings::SetTimeSettings(ZRoom* nZRoom, std::vector<uint8_t> rawData, in
unk = rawData[rawDataIndex + 6];
}
-string SetTimeSettings::GenerateSourceCodePass1(string roomName, int baseAddress)
+string SetTimeSettings::GenerateSourceCodePass1(string roomName, uint32_t baseAddress)
{
return StringHelper::Sprintf(
"%s 0x00, 0x00, 0x00, 0x%02X, 0x%02X, 0x%02X",