Commit 132539b0 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

vbscript: Fix a typo in sizeof() (Coverity).

parent 1e110562
......@@ -2028,7 +2028,7 @@ static HRESULT Global_Weekday(BuiltinDisp *This, VARIANT *args, unsigned args_cn
{
/* vbUseSystemDayOfWeek */
GetLocaleInfoW(This->ctx->lcid, LOCALE_RETURN_NUMBER | LOCALE_IFIRSTDAYOFWEEK, (LPWSTR)&first_day,
sizeof(&first_day) / sizeof(WCHAR));
sizeof(first_day) / sizeof(WCHAR));
first_day = (first_day + 1) % 7;
}
else if (first_day >= 1 && first_day <= 7)
......
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