core/MenuStyle_Base.cpp
changeset 778 07e49a8cf046
parent 776 c031ed44193c
child 780 570fa34723bf
     1.1 --- a/core/MenuStyle_Base.cpp	Sun May 13 04:43:37 2007 +0000
     1.2 +++ b/core/MenuStyle_Base.cpp	Sun May 13 04:43:52 2007 +0000
     1.3 @@ -421,7 +421,7 @@
     1.4  
     1.5  bool CBaseMenu::AppendItem(const char *info, const ItemDrawInfo &draw)
     1.6  {
     1.7 -	if (m_Pagination == MENU_NO_PAGINATION
     1.8 +	if (m_Pagination == (unsigned)MENU_NO_PAGINATION
     1.9  		&& m_items.size() >= m_pStyle->GetMaxPageItems())
    1.10  	{
    1.11  		return false;
    1.12 @@ -444,7 +444,7 @@
    1.13  
    1.14  bool CBaseMenu::InsertItem(unsigned int position, const char *info, const ItemDrawInfo &draw)
    1.15  {
    1.16 -	if (m_Pagination == MENU_NO_PAGINATION
    1.17 +	if (m_Pagination == (unsigned)MENU_NO_PAGINATION
    1.18  		&& m_items.size() >= m_pStyle->GetMaxPageItems())
    1.19  	{
    1.20  		return false;