Fixed compiler warnings.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2013-07-09 06:59:07 +00:00
parent 7919f6e485
commit 157d688f96

View File

@@ -218,7 +218,7 @@ void AddonsScreen::loadList()
// Get the filter by rating.
GUIEngine::SpinnerWidget* w_filter_rating =
getWidget<GUIEngine::SpinnerWidget>("filter_rating");
float rating = 1.0 + w_filter_rating->getValue() / 2.0;
float rating = 1.0f + w_filter_rating->getValue() / 2.0f;
// First create a list of sorted entries
PtrVector<const Addon, REF> sorted_list;