summaryrefslogtreecommitdiff
path: root/src/common/file_util.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-09-29 22:05:56 -0400
committerGravatar bunnei2014-09-29 22:05:56 -0400
commit9061cdc9c0f11217f9d937ebdaeec8cbd566a04e (patch)
tree30bcdb7a6178ec37b97eac7929b8e92c0e9b0a1b /src/common/file_util.h
parentMerge pull request #118 from lioncash/chunk-file (diff)
parentFix warnings in core and common (diff)
downloadyuzu-9061cdc9c0f11217f9d937ebdaeec8cbd566a04e.tar.gz
yuzu-9061cdc9c0f11217f9d937ebdaeec8cbd566a04e.tar.xz
yuzu-9061cdc9c0f11217f9d937ebdaeec8cbd566a04e.zip
Merge pull request #120 from lioncash/core-common
Fix warnings in core and common
Diffstat (limited to 'src/common/file_util.h')
-rw-r--r--src/common/file_util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h
index cddcd1951..f9d91972f 100644
--- a/src/common/file_util.h
+++ b/src/common/file_util.h
@@ -6,9 +6,9 @@
6 6
7#include <fstream> 7#include <fstream>
8#include <cstdio> 8#include <cstdio>
9#include <cstring>
9#include <string> 10#include <string>
10#include <vector> 11#include <vector>
11#include <string.h>
12 12
13#include "common/common.h" 13#include "common/common.h"
14#include "common/string_util.h" 14#include "common/string_util.h"
@@ -128,8 +128,8 @@ std::string GetBundleDirectory();
128std::string &GetExeDirectory(); 128std::string &GetExeDirectory();
129#endif 129#endif
130 130
131bool WriteStringToFile(bool text_file, const std::string &str, const char *filename); 131size_t WriteStringToFile(bool text_file, const std::string &str, const char *filename);
132bool ReadFileToString(bool text_file, const char *filename, std::string &str); 132size_t ReadFileToString(bool text_file, const char *filename, std::string &str);
133 133
134// simple wrapper for cstdlib file functions to 134// simple wrapper for cstdlib file functions to
135// hopefully will make error checking easier 135// hopefully will make error checking easier