Browse Source

Fixed warning

Fixed a compile warning about casting.
Nathan Bowhay 10 years ago
parent
commit
42126937e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/console/typeValidators.cpp

+ 1 - 1
Engine/source/console/typeValidators.cpp

@@ -101,7 +101,7 @@ void Point3NormalizeValidator::validateType(SimObject *object, void *typePtr)
 namespace CommonValidators
 {
    FRangeValidator PositiveFloat(0.0f, F32_MAX);
-   FRangeValidator PositiveNonZeroFloat(F32( POINT_EPSILON ) , F32_MAX);
+   FRangeValidator PositiveNonZeroFloat((F32)POINT_EPSILON, F32_MAX);
    FRangeValidator NormalizedFloat(0.0f, 1.0f);
    Point3NormalizeValidator NormalizedPoint3(1.0f);
 };