Fix a broken cast (thanks w3seek)
authorHervé Poussineau <hpoussin@reactos.org>
Sun, 7 May 2006 12:09:01 +0000 (12:09 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sun, 7 May 2006 12:09:01 +0000 (12:09 +0000)
svn path=/trunk/; revision=21827

reactos/dll/win32/setupapi/devinst.c

index 4f6cdb9..1cfa7a2 100644 (file)
@@ -2134,7 +2134,7 @@ BOOL WINAPI SetupDiGetClassImageListExW(
             list->MachineName = NULL;
         }
 
             list->MachineName = NULL;
         }
 
-        ClassImageListData->Reserved = (DWORD)list; /* FIXME: 64 bit portability issue */
+        ClassImageListData->Reserved = (ULONG_PTR)list;
         ret = TRUE;
 
 cleanup:
         ret = TRUE;
 
 cleanup: