[Project64] fixed warning C4018: '>=' : signed/unsigned mismatch
This commit is contained in:
parent
a86d3c2002
commit
068fbcbd13
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue