[SHELLFIND] Remove unnecessary cast
authorBrock Mammen <brockmammen@gmail.com>
Tue, 27 Aug 2019 13:17:12 +0000 (08:17 -0500)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Sun, 15 Sep 2019 16:46:36 +0000 (19:46 +0300)
dll/win32/browseui/shellfind/CFindFolder.cpp

index b47062a..4d3deae 100644 (file)
@@ -107,7 +107,7 @@ CFindFolder::CFindFolder() :
 static LPITEMIDLIST _ILCreate(LPCWSTR lpszPath)
 {
     CComHeapPtr<ITEMIDLIST> lpFSPidl(ILCreateFromPathW(lpszPath));
-    if (!(LPITEMIDLIST)lpFSPidl)
+    if (!lpFSPidl)
     {
         ERR("Failed to create pidl from path\n");
         return 0;