summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cfg/cfg_u.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-02-14 21:50:26 +0100
committerbunnei <bunneidev@gmail.com>2015-02-14 21:50:26 +0100
commit12181c8a64678e73281e893b6ba108d5a125c1aa (patch)
tree831883189eb5c846b619c20e22e1015c5c140c63 /src/core/hle/service/cfg/cfg_u.cpp
parentMerge pull request #572 from lioncash/prototypes (diff)
parentBuild: Fixed some warnings (diff)
downloadyuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.tar
yuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.tar.gz
yuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.tar.bz2
yuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.tar.lz
yuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.tar.xz
yuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.tar.zst
yuzu-12181c8a64678e73281e893b6ba108d5a125c1aa.zip
Diffstat (limited to 'src/core/hle/service/cfg/cfg_u.cpp')
-rw-r--r--src/core/hle/service/cfg/cfg_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/cfg/cfg_u.cpp b/src/core/hle/service/cfg/cfg_u.cpp
index 4c5eac382..a65da90c5 100644
--- a/src/core/hle/service/cfg/cfg_u.cpp
+++ b/src/core/hle/service/cfg/cfg_u.cpp
@@ -85,7 +85,7 @@ static void GetCountryCodeID(Service::Interface* self) {
// The following algorithm will fail if the first country code isn't 0.
DEBUG_ASSERT(country_codes[0] == 0);
- for (size_t id = 0; id < country_codes.size(); ++id) {
+ for (u16 id = 0; id < country_codes.size(); ++id) {
if (country_codes[id] == country_code) {
country_code_id = id;
break;