diff options
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index b91adc0053..bca161268c 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -28,7 +28,7 @@ bool File::IsDirectory(const std::string &filename) { std::string SanitizePath(const std::string &filename) {
std::string copy = filename;
- for (int i = 0; i < copy.size(); i++)
+ for (size_t i = 0; i < copy.size(); i++)
if (copy[i] == '/')
copy[i] = '\\';
return copy;
@@ -81,4 +81,4 @@ bool File::CreateDir(const std::string &path) #else
// TODO: Insert POSIX code here.
#endif
-}
\ No newline at end of file +}
|
