Skip to content

Commit

Permalink
Silence compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DDDamian committed Sep 30, 2012
1 parent 9944477 commit 12d2195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/settings/GUISettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ RESOLUTION CGUISettings::GetResFromString(const CStdString &res)
float score = 10 * (square_error((float)info.iWidth, (float)width) +
square_error((float)info.iHeight, (float)height) +
square_error(info.fRefreshRate, refresh) +
square_error((float)((info.dwFlags & D3DPRESENTFLAG_INTERLACED) ? 100:200), interlaced));
square_error((float)((info.dwFlags & D3DPRESENTFLAG_INTERLACED) ? 100:200), (float)interlaced));
if (score < bestScore)
{
bestScore = score;
Expand Down

0 comments on commit 12d2195

Please sign in to comment.