shell32: Allocate a full SHITEMID to avoid a compiler warning.
This commit is contained in:
parent
cf3d58e4dc
commit
c844ebdb0a
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ IShellFolder_fnParseDisplayName (IShellFolder2 * iface,
|
|||
/* Special case for the root folder. */
|
||||
if (!wcsicmp( szPath, L"\\\\?\\unix\\" ))
|
||||
{
|
||||
*ppidl = SHAlloc(sizeof(USHORT));
|
||||
*ppidl = SHAlloc(sizeof(*ppidl));
|
||||
if (!*ppidl) return E_FAIL;
|
||||
(*ppidl)->mkid.cb = 0; /* Terminate the ITEMIDLIST */
|
||||
return S_OK;
|
||||
|
|
Loading…
Add table
Reference in a new issue