From f5a71ae99d83d86aba86c37e075e0f09cf85004e Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Thu, 5 Sep 2002 01:29:57 +0000 Subject: fatal(): Change the signature of vsnprintf() in the case of using the GNU version. --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common.c b/src/common.c index 34b81c321..cde8064cb 100644 --- a/src/common.c +++ b/src/common.c @@ -65,7 +65,7 @@ fatal(const char* ident, int exitcode, char* format, ...) /* A replacement is provided in vsnprintf.c for ancient systems still * lacking one in their C library. */ - int vsnprintf(char*, int, char*, va_list); + int vsnprintf(char*, size_t, const char*, va_list); #endif /* !HAVE_VSNPRINTF */ char log_entry[BUFSIZE]; -- cgit v1.3.1