aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/src
diff options
context:
space:
mode:
authorGravatar ShizZy <shizzy@6bit.net>2013-09-08 21:55:37 -0400
committerGravatar ShizZy <shizzy@6bit.net>2013-09-08 21:55:37 -0400
commit4f5d3973797c186ae3bc7d7aabae19725a49443e (patch)
treee57f4cdf6ebc1ebd616d7bba3ad4f8a5afa0188f /src/common/src
parentc2867f7e14d24be08da6af6b4381ca1c7763391c (diff)
fixed some code warnings
Diffstat (limited to 'src/common/src')
-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 6a7f9275..76927c3b 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)
if (!f)
return false;
- str.resize(GetSize(f));
+ str.resize(static_cast<u32>(GetSize(f)));
return file.ReadArray(&str[0], str.size());
}