Commit a8ec44e8 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

windows.globalization: Fix an incorrect sizeof (Coverity).

parent df1c03a0
......@@ -183,7 +183,7 @@ static HRESULT STDMETHODCALLTYPE hstring_vector_GetMany(IVectorView_HSTRING *ifa
TRACE("iface %p, start_index %#x, items %p, count %p.\n", iface, start_index, items, count);
memset(items, 0, items_size * sizeof(HSTRING *));
memset(items, 0, items_size * sizeof(*items));
for (i = start_index; i < impl->count && i < start_index + items_size; ++i)
if (FAILED(hr = WindowsDuplicateString(impl->values[i], items + i - start_index)))
......
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