FreeCAD: Compiler warning fixes
This commit is contained in:
committed by
Kacper Donat
parent
b170b8e27c
commit
21c07cabc5
@@ -145,7 +145,7 @@ inline T toDegrees(T r)
|
||||
|
||||
inline float fromPercent(const long value)
|
||||
{
|
||||
return std::roundf(value) / 100.0F;
|
||||
return std::roundf(static_cast<float>(value)) / 100.0F;
|
||||
}
|
||||
|
||||
inline long toPercent(float value)
|
||||
|
||||
Reference in New Issue
Block a user