Browse Source

Fixed bug 123

Christophe Riccio 14 years ago
parent
commit
0ab221458f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtx/string_cast.inl

+ 1 - 1
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//