Commit 552f7f7c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

version: Use the ARRAY_SIZE() macro.

parent 4233bd75
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment