From 6d27dbaab3b32ccebb076895fac3cc6aa3240d6c Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Sat, 24 Apr 2021 16:42:52 -0400 Subject: 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 --- ZAPD/ZMtx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ZAPD/ZMtx.cpp') diff --git a/ZAPD/ZMtx.cpp b/ZAPD/ZMtx.cpp index 37b4c9b..9a90c29 100644 --- a/ZAPD/ZMtx.cpp +++ b/ZAPD/ZMtx.cpp @@ -9,7 +9,7 @@ ZMtx::ZMtx(ZFile* nParent) : ZResource(nParent) { } -ZMtx::ZMtx(const std::string& prefix, const std::vector& nRawData, int nRawDataIndex, +ZMtx::ZMtx(const std::string& prefix, const std::vector& nRawData, uint32_t nRawDataIndex, ZFile* nParent) : ZResource(nParent) { @@ -28,13 +28,13 @@ void ZMtx::ParseRawData() } void ZMtx::ExtractFromXML(tinyxml2::XMLElement* reader, const std::vector& nRawData, - int nRawDataIndex, const std::string& nRelPath) + uint32_t nRawDataIndex, const std::string& nRelPath) { ZResource::ExtractFromXML(reader, nRawData, nRawDataIndex, nRelPath); DeclareVar("", ""); } -int ZMtx::GetRawDataSize() +size_t ZMtx::GetRawDataSize() { return 64; } -- cgit v1.2.3