[Project64] fixed warning C4018: '>=' : signed/unsigned mismatch

This commit is contained in:
unknown 2015-05-24 13:33:56 -04:00
parent a86d3c2002
commit 068fbcbd13
1 changed files with 3 additions and 2 deletions

View File

@ -187,7 +187,8 @@ protected:
if (uMsg == WM_CHAR) if (uMsg == WM_CHAR)
{ {
int MaxLen = 30; size_t MaxLen = 30;
if (m_DisplayType == DisplayHex) if (m_DisplayType == DisplayHex)
{ {
MaxLen = 8; MaxLen = 8;
@ -229,7 +230,7 @@ protected:
} }
return true; return true;
} }
else if ( c >= 48 && c<= 57 || c >= 'A' && c<= 'F') else if (c >= '0' && c <= '9' || c >= 'A' && c <= 'F')
{ {
if (Len >= MaxLen && start == end) if (Len >= MaxLen && start == end)
{ {