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:
parent
f6524f7a3a
commit
68c3ac7680
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue