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>
This commit is contained in:
parent
bcbe1d120c
commit
ab3ca36baf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue