cabinet: Remove unneeded casts

Andrew Talbot andrew.talbot at talbotville.com
Thu Dec 6 14:58:36 CST 2007


Changelog:
    cabinet: Remove unneeded casts.

diff --git a/dlls/cabinet/cabinet.h b/dlls/cabinet/cabinet.h
index f566124..e786c1f 100644
--- a/dlls/cabinet/cabinet.h
+++ b/dlls/cabinet/cabinet.h
@@ -403,11 +403,11 @@ typedef struct {
 #define FDI_INT_MAGIC 0xfdfdfd05
 
 #define REALLY_IS_FCI(hfci) ( \
-  (((void *) hfci) != NULL) && \
+  ((hfci) != NULL) && \
   (PFCI_INT(hfci)->FCI_Intmagic == FCI_INT_MAGIC) )
 
 #define REALLY_IS_FDI(hfdi) ( \
-  (((void *) hfdi) != NULL) && \
+  ((hfdi) != NULL) && \
   (PFDI_INT(hfdi)->FDI_Intmagic == FDI_INT_MAGIC) )
 
 /*



More information about the wine-patches mailing list