summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-19 11:45:11 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-19 11:45:11 +0000
commitebbc40658731cd331bb003506c6d5113c778c4d0 (patch)
tree8f3b514504cc3ad2896040bbc07ed74b6b9ed89d
parentde24b3c5aaf12d905731db3419e5fd2d3c46f775 (diff)
downloadcrawl-ref-ebbc40658731cd331bb003506c6d5113c778c4d0.tar.gz
crawl-ref-ebbc40658731cd331bb003506c6d5113c778c4d0.zip
Fix compile failing on DOS and Windows.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.1.6@672 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/hiscores.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index b67cc72876..c0ccd75e43 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -192,10 +192,11 @@ void logfile_new_entry( const scorefile_entry &ne )
hs_close(logfile, "a", log_file_name());
}
+template <class t_printf>
static void hiscores_print_entry(const scorefile_entry &se,
int index,
int format,
- int (*pf)(const char *, ...))
+ t_printf pf)
{
char buf[INFO_SIZE];
// print position (tracked implicitly by order score file)