another osx fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1206 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-11-18 08:56:29 +00:00
parent 759441082a
commit fc97253e0c
1 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ bool CGameListCtrl::MSWDrawSubItem(wxPaintDC& rPaintDC, int item, int subitem)
wxColour blend50(const wxColour& c1, const wxColour& c2)
{
return(((c1.GetPixel() & 0xFEFEFE) >> 1) + ((c2.GetPixel() & 0xFEFEFE) >> 1) + 0x010101);
return((((int)c1.GetPixel() & 0xFEFEFE) >> 1) + (((int)c2.GetPixel() & 0xFEFEFE) >> 1) + 0x010101);
}
void CGameListCtrl::SetBackgroundColor()
@ -649,7 +649,7 @@ void CGameListCtrl::CompressSelection(bool _compress)
m_currentItem = 0;
m_numberItem = GetSelectedItemCount();
for (int i=0; i<m_numberItem; i++)
for (u32 i=0; i<m_numberItem; i++)
{
const GameListItem *iso = GetSelectedISO();