diff --git a/glm/detail/qualifier.hpp b/glm/detail/qualifier.hpp index cb4e108a..e3fe3f6f 100644 --- a/glm/detail/qualifier.hpp +++ b/glm/detail/qualifier.hpp @@ -85,7 +85,7 @@ namespace detail struct storage { typedef struct type { - T data[L]; + T data[static_cast(L)]; } type; }; @@ -94,7 +94,7 @@ namespace detail struct storage { typedef struct alignas(L * sizeof(T)) type { - T data[L]; + T data[static_cast(L)]; } type; };