summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2014-11-18 16:54:56 +0100
committerTony Wasserka <neobrainx@gmail.com>2014-11-18 16:54:56 +0100
commitd218a547fa18b0c761ce5204ec4ac8fee8f2bedd (patch)
treee52ae25770e64504fcdad2d9e4c8986f518ed057 /src/core
parentMerge pull request #210 from lioncash/typedef (diff)
parentdirectory_sdmc: Fix a signed/unsigned mismatch comparison (diff)
downloadyuzu-d218a547fa18b0c761ce5204ec4ac8fee8f2bedd.tar
yuzu-d218a547fa18b0c761ce5204ec4ac8fee8f2bedd.tar.gz
yuzu-d218a547fa18b0c761ce5204ec4ac8fee8f2bedd.tar.bz2
yuzu-d218a547fa18b0c761ce5204ec4ac8fee8f2bedd.tar.lz
yuzu-d218a547fa18b0c761ce5204ec4ac8fee8f2bedd.tar.xz
yuzu-d218a547fa18b0c761ce5204ec4ac8fee8f2bedd.tar.zst
yuzu-d218a547fa18b0c761ce5204ec4ac8fee8f2bedd.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;