From 0ab221458f8a4cd893e1e6e8d7b8d5010fbbae4a Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 14 Sep 2011 09:04:12 +0100 Subject: [PATCH] Fixed bug 123 --- glm/gtx/string_cast.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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//