summaryrefslogtreecommitdiff
path: root/ExporterTest/TextureExporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ExporterTest/TextureExporter.cpp')
-rw-r--r--ExporterTest/TextureExporter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ExporterTest/TextureExporter.cpp b/ExporterTest/TextureExporter.cpp
index c236d12..6488bed 100644
--- a/ExporterTest/TextureExporter.cpp
+++ b/ExporterTest/TextureExporter.cpp
@@ -8,6 +8,7 @@ void ExporterExample_Texture::Save(ZResource* res, [[maybe_unused]] fs::path out
auto data = tex->parent->GetRawData();
- for (uint i = tex->GetRawDataIndex(); i < tex->GetRawDataIndex() + tex->GetRawDataSize(); i++)
+ for (offset_t i = tex->GetRawDataIndex(); i < tex->GetRawDataIndex() + tex->GetRawDataSize();
+ i++)
writer->Write(data[i]);
-} \ No newline at end of file
+}