version: Use the ARRAY_SIZE() macro.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Michael Stefaniuc 2018-08-09 20:59:29 +02:00 committed by Alexandre Julliard
parent 4233bd7570
commit 552f7f7c45
1 changed files with 1 additions and 1 deletions

View File

@ -1313,7 +1313,7 @@ DWORD WINAPI VerFindFileW( DWORD flags,LPCWSTR lpszFilename,LPCWSTR lpszWinDir,
/* Figure out where the file should go; shared files default to the
system directory */
GetSystemDirectoryW(systemDir, sizeof(systemDir)/sizeof(WCHAR));
GetSystemDirectoryW(systemDir, ARRAY_SIZE(systemDir));
curDir = &emptyW;
if(flags & VFFF_ISSHAREDFILE)