msvcrt/tests: Fix some format-overflow warnings.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Rémi Bernon 2020-02-11 19:09:34 +01:00 committed by Alexandre Julliard
parent bcbe1d120c
commit ab3ca36baf
1 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ static void test___getmainargs(void)
{
int argc, new_argc, mode;
char **argv, **new_argv, **envp;
char tmppath[MAX_PATH], filepath[MAX_PATH];
char tmppath[MAX_PATH], filepath[MAX_PATH + 14];
FILE *f;
ok(GetTempPathA(MAX_PATH, tmppath) != 0, "GetTempPath failed\n");
@ -194,7 +194,7 @@ static void test___getmainargs(void)
static void test___getmainargs_parent(char *name)
{
char cmdline[3*MAX_PATH];
char tmppath[MAX_PATH], filepath[MAX_PATH];
char tmppath[MAX_PATH], filepath[MAX_PATH + 14];
STARTUPINFOA startup;
PROCESS_INFORMATION proc;
FILE *f;