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/ZVtx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ZAPD/ZVtx.cpp') diff --git a/ZAPD/ZVtx.cpp b/ZAPD/ZVtx.cpp index c995b0a..b48015d 100644 --- a/ZAPD/ZVtx.cpp +++ b/ZAPD/ZVtx.cpp @@ -60,7 +60,7 @@ void ZVtx::ParseRawData() a = data[rawDataIndex + 15]; } -int ZVtx::GetRawDataSize() +size_t ZVtx::GetRawDataSize() { return 16; } @@ -86,7 +86,7 @@ std::string ZVtx::GetExternalExtension() } void ZVtx::ExtractFromXML(tinyxml2::XMLElement* reader, const std::vector& nRawData, - const int nRawDataIndex, const std::string& nRelPath) + const uint32_t nRawDataIndex, const std::string& nRelPath) { ZResource::ExtractFromXML(reader, nRawData, nRawDataIndex, nRelPath); } -- cgit v1.2.3