Andrew Talbot : cabinet: Remove unneeded casts.

Alexandre Julliard julliard at winehq.org
Fri Dec 7 11:02:19 CST 2007


Module: wine
Branch: master
Commit: 81d964824b46deb525c8fc7fc11bb93d084708e7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=81d964824b46deb525c8fc7fc11bb93d084708e7

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Dec  6 20:58:36 2007 +0000

cabinet: Remove unneeded casts.

---

 dlls/cabinet/cabinet.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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-cvs mailing list