(svn r19207) -Fix (r19127): compilation was broken for gcc 3.3

This commit is contained in:
smatz 2010-02-22 16:24:38 +00:00
parent 03e5434e63
commit b1151645c0

View File

@ -126,7 +126,7 @@ struct CStrA : public CBlobT<char>
} }
/** Add formated string (like sprintf) at the end of existing contents. */ /** Add formated string (like sprintf) at the end of existing contents. */
int CDECL AddFormat(const char *format, ...) WARN_FORMAT(2, 3) int CDECL WARN_FORMAT(2, 3) AddFormat(const char *format, ...)
{ {
va_list args; va_list args;
va_start(args, format); va_start(args, format);
@ -136,7 +136,7 @@ struct CStrA : public CBlobT<char>
} }
/** Assign formated string (like sprintf). */ /** Assign formated string (like sprintf). */
int CDECL Format(const char *format, ...) WARN_FORMAT(2, 3) int CDECL WARN_FORMAT(2, 3) Format(const char *format, ...)
{ {
base::Free(); base::Free();
va_list args; va_list args;