summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-11 22:43:14 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-11 22:43:14 +0100
commit7e6ee7ef8158a037c11405986513aa344ce68f42 (patch)
treef00f9095be3708fafcb68a370042633740ef5f0d /src/StringUtils.h
parentFixed a load of format string errors (diff)
downloadcuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar
cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.gz
cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.bz2
cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.lz
cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.xz
cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.zst
cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.zip
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r--src/StringUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index a7f22b100..728ce31e6 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -31,7 +31,7 @@ extern AString & Printf (AString & str, const char * format, ...) FORMATST
extern AString Printf(const char * format, ...) FORMATSTRING(1,2);
/// Add the formatted string to the existing data in the string
-extern AString & AppendPrintf (AString & str, const char * format, ...);
+extern AString & AppendPrintf (AString & str, const char * format, ...) FORMATSTRING(2,3);
/// Split the string at any of the listed delimiters, return as a stringvector
extern AStringVector StringSplit(const AString & str, const AString & delim);