hnetcfg: GetModuleFileNameW gets characters, not bytes (Coverity).

Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Marcus Meissner 2018-06-25 15:28:33 +02:00 committed by Alexandre Julliard
parent 5e3081c82d
commit 46c5eb173f
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ static void test_NetFwAuthorizedApplication(void)
&IID_INetFwAuthorizedApplication, (void**)&app);
ok(hr == S_OK, "got: %08x\n", hr);
hr = GetModuleFileNameW(NULL, image, sizeof(image));
hr = GetModuleFileNameW(NULL, image, ARRAY_SIZE(image));
ok(hr, "GetModuleFileName failed: %u\n", GetLastError());
hr = INetFwAuthorizedApplication_get_ProcessImageFileName(app, NULL);