Build: Warnings

Fixed some compiler warnings, joint ops with ebsi and stalli

review id = 10
This commit is contained in:
Manuel Dobusch
2014-04-30 17:11:12 +02:00
parent ad54b0d1fa
commit 6b82ea6860
8 changed files with 46 additions and 29 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ Vector2<T>::~Vector2()
template<class T>
float Vector2<T>::getLengthSquared() const
{
return (x * x) + (y * y);
return static_cast<float>(x * x) + static_cast<float>(y * y);
}
template<class T>