diff options
author | smatz <smatz@openttd.org> | 2010-02-22 16:24:38 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-02-22 16:24:38 +0000 |
commit | b1151645c0128842bea3d4f46bf9c6b007d96555 (patch) | |
tree | 4755637c92c04c5c886ca8cbc9bb7edf7c8afa15 | |
parent | 03e5434e63305fa66cbd6460f584c2dd99cdb128 (diff) | |
download | openttd-b1151645c0128842bea3d4f46bf9c6b007d96555.tar.xz |
(svn r19207) -Fix (r19127): compilation was broken for gcc 3.3
-rw-r--r-- | src/misc/str.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/str.hpp b/src/misc/str.hpp index 9204dbfb7..7f65f1958 100644 --- a/src/misc/str.hpp +++ b/src/misc/str.hpp @@ -126,7 +126,7 @@ struct CStrA : public CBlobT<char> } /** 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_start(args, format); @@ -136,7 +136,7 @@ struct CStrA : public CBlobT<char> } /** 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(); va_list args; |