summaryrefslogtreecommitdiff
path: root/editor/import/resource_importer_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/import/resource_importer_image.cpp')
-rw-r--r--editor/import/resource_importer_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_image.cpp b/editor/import/resource_importer_image.cpp
index 26c6a8462b..fa6ce5fc89 100644
--- a/editor/import/resource_importer_image.cpp
+++ b/editor/import/resource_importer_image.cpp
@@ -75,7 +75,7 @@ Error ResourceImporterImage::import(const String &p_source_file, const String &p
ERR_FAIL_COND_V_MSG(!f, ERR_CANT_OPEN, "Cannot open file from path '" + p_source_file + "'.");
- size_t len = f->get_len();
+ uint64_t len = f->get_len();
Vector<uint8_t> data;
data.resize(len);