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:
parent
5e3081c82d
commit
46c5eb173f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue