summaryrefslogtreecommitdiff
path: root/modules/minimp3/resource_importer_mp3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/minimp3/resource_importer_mp3.cpp')
-rw-r--r--modules/minimp3/resource_importer_mp3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/minimp3/resource_importer_mp3.cpp b/modules/minimp3/resource_importer_mp3.cpp
index 96cce49c86..f5137965da 100644
--- a/modules/minimp3/resource_importer_mp3.cpp
+++ b/modules/minimp3/resource_importer_mp3.cpp
@@ -79,7 +79,7 @@ Error ResourceImporterMP3::import(const String &p_source_file, const String &p_s
ERR_FAIL_COND_V(!f, ERR_CANT_OPEN);
- uint64_t len = f->get_len();
+ uint64_t len = f->get_length();
Vector<uint8_t> data;
data.resize(len);