advapi32/tests: Fix some format-overflow warnings.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2020-02-11 19:09:23 +01:00 committed by Alexandre Julliard
parent 7154c8676f
commit 56a83c585a
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ static void test_create_delete_svc(void)
SC_HANDLE scm_handle, svc_handle1, svc_handle2;
CHAR username[UNLEN + 1], domain[MAX_PATH];
DWORD user_size = UNLEN + 1;
CHAR account[UNLEN + 3];
CHAR account[MAX_PATH + UNLEN + 1];
static const CHAR servicename [] = "winetest_create_delete";
static const CHAR pathname [] = "we_dont_care.exe";
static const CHAR empty [] = "";