Fix warnings in crash.cpp

This commit is contained in:
Ted John 2016-08-28 17:19:13 +01:00
parent 12ef20ef31
commit c586b887fd
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ static bool OnCrash(const wchar_t * dumpPath,
HRESULT coInitializeResult = CoInitialize(NULL);
if (SUCCEEDED(coInitializeResult))
{
ITEMIDLIST * pidl = ILCreateFromPathW(dumpPath);
ITEMIDLIST * files[2];
LPITEMIDLIST pidl = ILCreateFromPathW(dumpPath);
LPITEMIDLIST files[2];
uint32 numFiles = 0;
files[numFiles++] = ILCreateFromPathW(dumpFilePath);