summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-11-18 14:51:03 +0100
committerLioncash <mathew1800@gmail.com>2014-11-18 14:51:03 +0100
commit548c49dfe9d6731aebce08d63ce3c514fe3b7ea9 (patch)
tree59c859e967f54eb717d3e581b9b28b97ed173a57 /src/core
parentMerge pull request #200 from lioncash/statics (diff)
downloadyuzu-548c49dfe9d6731aebce08d63ce3c514fe3b7ea9.tar
yuzu-548c49dfe9d6731aebce08d63ce3c514fe3b7ea9.tar.gz
yuzu-548c49dfe9d6731aebce08d63ce3c514fe3b7ea9.tar.bz2
yuzu-548c49dfe9d6731aebce08d63ce3c514fe3b7ea9.tar.lz
yuzu-548c49dfe9d6731aebce08d63ce3c514fe3b7ea9.tar.xz
yuzu-548c49dfe9d6731aebce08d63ce3c514fe3b7ea9.tar.zst
yuzu-548c49dfe9d6731aebce08d63ce3c514fe3b7ea9.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/directory_sdmc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/directory_sdmc.cpp b/src/core/file_sys/directory_sdmc.cpp
index 923ca6862..60a197ce9 100644
--- a/src/core/file_sys/directory_sdmc.cpp
+++ b/src/core/file_sys/directory_sdmc.cpp
@@ -45,7 +45,7 @@ u32 Directory_SDMC::Read(const u32 count, Entry* entries) {
WARN_LOG(FILESYS, "File %s: size=%llu dir=%d", filename.c_str(), file.size, file.isDirectory);
// TODO(Link Mauve): use a proper conversion to UTF-16.
- for (int j = 0; j < FILENAME_LENGTH; ++j) {
+ for (size_t j = 0; j < FILENAME_LENGTH; ++j) {
entry.filename[j] = filename[j];
if (!filename[j])
break;