diff --git a/glm/gtx/string_cast.inl b/glm/gtx/string_cast.inl index e94d0339..62a3ac8c 100644 --- a/glm/gtx/string_cast.inl +++ b/glm/gtx/string_cast.inl @@ -25,7 +25,7 @@ namespace detail va_start(list, msg); // Ticket #123 #if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER_VC >= GLM_COMPILER_VC2005)) - vsprintf_s(text, msg, list, STRING_BUFFER); + vsprintf_s(text, STRING_BUFFER, msg, list); #else// vsprintf(text, msg, list); #endif//