From 4f5d3973797c186ae3bc7d7aabae19725a49443e Mon Sep 17 00:00:00 2001 From: ShizZy Date: Sun, 8 Sep 2013 21:55:37 -0400 Subject: fixed some code warnings --- src/common/src/file_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') 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) if (!f) return false; - str.resize(GetSize(f)); + str.resize(static_cast(GetSize(f))); return file.ReadArray(&str[0], str.size()); } -- cgit v1.2.3