diff options
| author | 2013-09-08 21:55:37 -0400 | |
|---|---|---|
| committer | 2013-09-08 21:55:37 -0400 | |
| commit | 4f5d3973797c186ae3bc7d7aabae19725a49443e (patch) | |
| tree | e57f4cdf6ebc1ebd616d7bba3ad4f8a5afa0188f /src/common | |
| parent | removed unneeded dolphin paths code, fixed linker problems with common.lib (diff) | |
| download | yuzu-4f5d3973797c186ae3bc7d7aabae19725a49443e.tar.gz yuzu-4f5d3973797c186ae3bc7d7aabae19725a49443e.tar.xz yuzu-4f5d3973797c186ae3bc7d7aabae19725a49443e.zip | |
fixed some code warnings
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/src/file_util.cpp | 2 |
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 | ||