summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-21 18:50:58 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-21 18:50:58 +0200
commit1a04297a6389a44cc4a37db35dd8364224a41210 (patch)
tree1a646d015ef2544a64122e10131e703c0c7fdc9a /crawl-ref/source/hiscores.h
parent886db4331b15b1565988e3e83117273dc8beb930 (diff)
downloadcrawl-ref-1a04297a6389a44cc4a37db35dd8364224a41210.tar.gz
crawl-ref-1a04297a6389a44cc4a37db35dd8364224a41210.zip
Add more printf warnings (SamB).
Diffstat (limited to 'crawl-ref/source/hiscores.h')
-rw-r--r--crawl-ref/source/hiscores.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/hiscores.h b/crawl-ref/source/hiscores.h
index 2eba6cea45..5fa0ca4454 100644
--- a/crawl-ref/source/hiscores.h
+++ b/crawl-ref/source/hiscores.h
@@ -41,8 +41,7 @@ public:
void init(const std::string &line);
std::string xlog_line() const;
- void add_field(const std::string &key,
- const char *format, ...);
+ void add_field(const std::string &key, PRINTF(2, ));
std::string str_field(const std::string &) const;
int int_field(const std::string &) const;