summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/src/file_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/src/file_util.cpp b/src/common/src/file_util.cpp
index 6a7f92754..76927c3bc 100644
--- a/src/common/src/file_util.cpp
+++ b/src/common/src/file_util.cpp
@@ -781,7 +781,7 @@ bool ReadFileToString(bool text_file, const char *filename, std::string &str)
781 if (!f) 781 if (!f)
782 return false; 782 return false;
783 783
784 str.resize(GetSize(f)); 784 str.resize(static_cast<u32>(GetSize(f)));
785 return file.ReadArray(&str[0], str.size()); 785 return file.ReadArray(&str[0], str.size());
786} 786}
787 787