advapi32/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c7718d31c7
commit
0f2f4e7ff8
|
@ -120,7 +120,7 @@ static void test_lsa(void)
|
|||
UINT len;
|
||||
guidstrW[0] = '\0';
|
||||
ConvertSidToStringSidA(dns_domain_info->Sid, &strsid);
|
||||
StringFromGUID2(&dns_domain_info->DomainGuid, guidstrW, sizeof(guidstrW)/sizeof(WCHAR));
|
||||
StringFromGUID2(&dns_domain_info->DomainGuid, guidstrW, ARRAY_SIZE(guidstrW));
|
||||
len = WideCharToMultiByte( CP_ACP, 0, guidstrW, -1, NULL, 0, NULL, NULL );
|
||||
guidstr = LocalAlloc( 0, len );
|
||||
WideCharToMultiByte( CP_ACP, 0, guidstrW, -1, guidstr, len, NULL, NULL );
|
||||
|
|
Loading…
Reference in New Issue