summaryrefslogtreecommitdiff
path: root/ZAPD/ZMtx.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/ZMtx.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/ZMtx.cpp')
-rw-r--r--ZAPD/ZMtx.cpp6
1 files changed, 3 insertions, 3 deletions
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<uint8_t>& nRawData, int nRawDataIndex,
+ZMtx::ZMtx(const std::string& prefix, const std::vector<uint8_t>& nRawData, uint32_t nRawDataIndex,
ZFile* nParent)
: ZResource(nParent)
{
@@ -28,13 +28,13 @@ void ZMtx::ParseRawData()
}
void ZMtx::ExtractFromXML(tinyxml2::XMLElement* reader, const std::vector<uint8_t>& 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;
}