From 810c632beb93cb19978cea29caecff7fabaf2b4c Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Sat, 10 Dec 2016 13:05:14 +0100 Subject: [PATCH] - Added missing GCCPRINTF to FileWriter::Printf. Luckily, this has shown no problems. --- src/files.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files.h b/src/files.h index 4c12550c8..b78282482 100644 --- a/src/files.h +++ b/src/files.h @@ -374,7 +374,7 @@ public: static FileWriter *Open(const char *filename); virtual size_t Write(const void *buffer, size_t len); - size_t Printf(const char *fmt, ...); + size_t Printf(const char *fmt, ...) GCCPRINTF(2,3); protected: