Commit 68c3ac76 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

shell32: Fix sizeof argument in DoPaste (Coverity).

parent f6524f7a
......@@ -1217,7 +1217,7 @@ static HRESULT DoPaste(ContextMenu *This)
TRACE("CF_HDROP=%p\n", medium.u.hGlobal);
count = DragQueryFileW(medium.u.hGlobal, -1, NULL, 0);
pidls = SHAlloc(count*sizeof(ITEMIDLIST**));
pidls = SHAlloc(count*sizeof(ITEMIDLIST*));
if (pidls)
{
for (i = 0; i < count; i++)
......
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