From: José Fonseca Date: Tue, 16 Feb 2010 16:06:06 +0000 (+0000) Subject: User round number for buffer size. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=5096f0bc8eb23e550f948ff5d5809c4b8ebe4f67;p=apitrace User round number for buffer size. --- diff --git a/log.cpp b/log.cpp index a42cee9..8064c4b 100644 --- a/log.cpp +++ b/log.cpp @@ -238,7 +238,7 @@ static void TextChar(char c) { } void TextF(const char *format, ...) { - char szBuffer[4196]; + char szBuffer[4096]; va_list ap; va_start(ap, format); vsnprintf(szBuffer, sizeof(szBuffer), format, ap);