summaryrefslogtreecommitdiff
path: root/ZAPD/ZVtx.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/ZVtx.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/ZVtx.cpp')
-rw-r--r--ZAPD/ZVtx.cpp4
1 files changed, 2 insertions, 2 deletions
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<uint8_t>& nRawData,
- const int nRawDataIndex, const std::string& nRelPath)
+ const uint32_t nRawDataIndex, const std::string& nRelPath)
{
ZResource::ExtractFromXML(reader, nRawData, nRawDataIndex, nRelPath);
}