Browse Source

Fixed warning from #123 comments

Christophe Riccio 13 years ago
parent
commit
09a8d5a621
1 changed files with 2 additions and 2 deletions
  1. 2 2
      glm/gtx/string_cast.inl

+ 2 - 2
glm/gtx/string_cast.inl

@@ -23,8 +23,8 @@ namespace detail
 			return std::string();
 			return std::string();
 
 
 		va_start(list, msg);
 		va_start(list, msg);
-// Ticket #123
-#if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER_VC >= GLM_COMPILER_VC2005))
+
+#if((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC2005))
 			vsprintf_s(text, STRING_BUFFER, msg, list);
 			vsprintf_s(text, STRING_BUFFER, msg, list);
 #else//
 #else//
 			vsprintf(text, msg, list);
 			vsprintf(text, msg, list);