summaryrefslogtreecommitdiffstats
path: root/externals/microprofile
diff options
context:
space:
mode:
authorunknown <katisx1@citromail.hu>2018-01-15 16:24:29 +0100
committerunknown <katisx1@citromail.hu>2018-01-15 16:24:29 +0100
commitaf6e0faf0a464d00b6ddc5d3526ab89bb635acca (patch)
treeeb7246d14fcee2e389dcb037648eaa59e635bffe /externals/microprofile
parentMerge pull request #15 from bsaleil/master (diff)
downloadyuzu-af6e0faf0a464d00b6ddc5d3526ab89bb635acca.tar
yuzu-af6e0faf0a464d00b6ddc5d3526ab89bb635acca.tar.gz
yuzu-af6e0faf0a464d00b6ddc5d3526ab89bb635acca.tar.bz2
yuzu-af6e0faf0a464d00b6ddc5d3526ab89bb635acca.tar.lz
yuzu-af6e0faf0a464d00b6ddc5d3526ab89bb635acca.tar.xz
yuzu-af6e0faf0a464d00b6ddc5d3526ab89bb635acca.tar.zst
yuzu-af6e0faf0a464d00b6ddc5d3526ab89bb635acca.zip
Diffstat (limited to 'externals/microprofile')
-rw-r--r--externals/microprofile/microprofileui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/microprofile/microprofileui.h b/externals/microprofile/microprofileui.h
index 7670fec5d..ddaebe55b 100644
--- a/externals/microprofile/microprofileui.h
+++ b/externals/microprofile/microprofileui.h
@@ -1991,7 +1991,7 @@ const char* MicroProfileUIMenuGroups(int nIndex, bool* bSelected)
else
{
nIndex = nIndex-1;
- if(nIndex < UI.GroupMenuCount)
+ if(static_cast<uint32_t>(nIndex) < UI.GroupMenuCount)
{
MicroProfileGroupMenuItem& Item = UI.GroupMenu[nIndex];
static char buffer[MICROPROFILE_NAME_MAX_LEN+32];
@@ -2134,7 +2134,7 @@ const char* MicroProfileUIMenuCustom(int nIndex, bool* bSelected)
case 1: return "--";
default:
nIndex -= 2;
- if(nIndex < UI.nCustomCount)
+ if(static_cast<uint32_t>(nIndex) < UI.nCustomCount)
{
return UI.Custom[nIndex].pName;
}
@@ -2184,7 +2184,7 @@ void MicroProfileUIClickGroups(int nIndex)
else
{
nIndex -= 1;
- if(nIndex < UI.GroupMenuCount)
+ if(static_cast<uint32_t>(nIndex) < UI.GroupMenuCount)
{
MicroProfileGroupMenuItem& Item = UI.GroupMenu[nIndex];
if(Item.nIsCategory)