crypt32/tests: Increase buffer size to avoid gcc warnings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Alexandre Julliard 2017-08-28 18:23:28 +02:00
parent 7960ed9d42
commit 3427fbb33e
1 changed files with 2 additions and 2 deletions

View File

@ -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);