summaryrefslogtreecommitdiffstats
path: root/core/io/zip_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/zip_io.cpp')
-rw-r--r--core/io/zip_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/zip_io.cpp b/core/io/zip_io.cpp
index a89c6253f1..972656e237 100644
--- a/core/io/zip_io.cpp
+++ b/core/io/zip_io.cpp
@@ -53,7 +53,7 @@ int godot_unzip_get_current_file_info(unzFile p_zip_file, unz_file_info64 &r_fil
return err;
}
-int godot_unzip_locate_file(unzFile p_zip_file, String p_filepath, bool p_case_sensitive) {
+int godot_unzip_locate_file(unzFile p_zip_file, const String &p_filepath, bool p_case_sensitive) {
int err = unzGoToFirstFile(p_zip_file);
while (err == UNZ_OK) {
unz_file_info64 current_file_info;