Module: wine Branch: master Commit: 3427fbb33e02a52d8fef98402b7150e155ab1224 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3427fbb33e02a52d8fef98402b... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Aug 28 18:23:28 2017 +0200 crypt32/tests: Increase buffer size to avoid gcc warnings. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 eae1282..8cb384c 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);