Fix -Wvarargs warnings

This commit is contained in:
Lucas Betschart 2017-12-29 00:04:40 +01:00
parent ff5564e4ce
commit 2cfc903cb9

2
util.h
View file

@ -82,7 +82,7 @@ void static inline Sleep(int nMilliSec) {
std::string vstrprintf(const std::string &format, va_list ap);
std::string static inline strprintf(const std::string &format, ...) {
std::string static inline strprintf(const std::string format, ...) {
va_list arg_ptr;
va_start(arg_ptr, format);
std::string ret = vstrprintf(format, arg_ptr);