shell32: Fix sizeof argument in DoPaste (Coverity).

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2022-04-03 21:56:22 -06:00 committed by Alexandre Julliard
parent f6524f7a3a
commit 68c3ac7680
1 changed files with 1 additions and 1 deletions

View File

@ -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++)