X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=dll%2Fwin32%2Fbrowseui%2Fshellfind%2FCFindFolder.cpp;h=4d3deaecbf72c24210e4b2a40f65fda00ab9fc69;hp=b47062a714e6345f086ad85a65accba4b600e775;hb=7ac9fd9f51003691aa156e94ea6cafcfb97b5615;hpb=0eee3ed3688dcf6aacfccd43089d41cd5d804a98 diff --git a/dll/win32/browseui/shellfind/CFindFolder.cpp b/dll/win32/browseui/shellfind/CFindFolder.cpp index b47062a714e..4d3deaecbf7 100644 --- a/dll/win32/browseui/shellfind/CFindFolder.cpp +++ b/dll/win32/browseui/shellfind/CFindFolder.cpp @@ -107,7 +107,7 @@ CFindFolder::CFindFolder() : static LPITEMIDLIST _ILCreate(LPCWSTR lpszPath) { CComHeapPtr lpFSPidl(ILCreateFromPathW(lpszPath)); - if (!(LPITEMIDLIST)lpFSPidl) + if (!lpFSPidl) { ERR("Failed to create pidl from path\n"); return 0;