From 3427fbb33e02a52d8fef98402b7150e155ab1224 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 28 Aug 2017 18:23:28 +0200 Subject: [PATCH] crypt32/tests: Increase buffer size to avoid gcc warnings. Signed-off-by: Alexandre Julliard --- dlls/crypt32/tests/encode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c index eae128210be..8cb384c3395 100644 --- a/dlls/crypt32/tests/encode.c +++ b/dlls/crypt32/tests/encode.c @@ -476,7 +476,7 @@ static void testTimeEncoding(DWORD dwEncoding, LPCSTR structType, static const char *printSystemTime(const SYSTEMTIME *st) { - static char buf[25]; + static char buf[64]; sprintf(buf, "%02d-%02d-%04d %02d:%02d:%02d.%03d", st->wMonth, st->wDay, st->wYear, st->wHour, st->wMinute, st->wSecond, st->wMilliseconds); @@ -485,7 +485,7 @@ static const char *printSystemTime(const SYSTEMTIME *st) static const char *printFileTime(const FILETIME *ft) { - static char buf[25]; + static char buf[64]; SYSTEMTIME st; FileTimeToSystemTime(ft, &st); -- 2.11.4.GIT