diff --git a/include/assimp/types.h b/include/assimp/types.h index 175675453..465638675 100644 --- a/include/assimp/types.h +++ b/include/assimp/types.h @@ -216,7 +216,7 @@ struct aiColor3D /** Check whether a color is black */ bool IsBlack() const { - static const ai_real epsilon = 10e-3; + static const ai_real epsilon = ai_real(10e-3); return std::fabs( r ) < epsilon && std::fabs( g ) < epsilon && std::fabs( b ) < epsilon; }