[nostalgia] Enable and fix several warnings

This commit is contained in:
2019-03-30 17:15:21 -05:00
parent 05c0eb2f78
commit 5afe78d015
11 changed files with 53 additions and 33 deletions
+2 -2
View File
@@ -66,13 +66,13 @@ int Project::writeObj(QString path, T *obj) const {
// write MetalClaw
size_t mcSize = 0;
err |= ox::writeMC((uint8_t*) buff.data(), buffLen, obj, &mcSize);
err |= ox::writeMC(reinterpret_cast<uint8_t*>(buff.data()), buffLen, obj, &mcSize);
if (err) {
return err;
}
// write to FS
err |= write(path, (uint8_t*) buff.data(), mcSize);
err |= write(path, reinterpret_cast<uint8_t*>(buff.data()), mcSize);
if (err) {
return err;
}