Don't cast to float, use floorf

This commit is contained in:
John Scipione 2013-05-09 20:52:51 -04:00
parent 91810d8efd
commit 869e4bdca3
1 changed files with 1 additions and 1 deletions

View File

@ -956,7 +956,7 @@ BMenuField::InitObject(const char* label)
SetLabel(label);
if (label)
fDivider = (float)floor(Frame().Width() / 2.0f);
fDivider = floorf(Frame().Width() / 2.0f);
else
fDivider = 0;
}