Andrew Talbot : cabinet: Remove unneeded casts.
Alexandre Julliard
julliard at winehq.org
Thu Dec 6 08:26:46 CST 2007
Module: wine
Branch: master
Commit: f2df3d7582ab558daaff07550d90c25900b65169
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f2df3d7582ab558daaff07550d90c25900b65169
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Wed Dec 5 21:28:30 2007 +0000
cabinet: Remove unneeded casts.
---
dlls/cabinet/fci.c | 2 +-
dlls/cabinet/fdi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/cabinet/fci.c b/dlls/cabinet/fci.c
index b0774c0..55c219d 100644
--- a/dlls/cabinet/fci.c
+++ b/dlls/cabinet/fci.c
@@ -188,7 +188,7 @@ HFCI __cdecl FCICreate(
return NULL;
}
- if (!((hfci = ((HFCI) (*pfnalloc)(sizeof(FCI_Int)))))) {
+ if (!((hfci = (*pfnalloc)(sizeof(FCI_Int))))) {
perf->erfOper = FCIERR_ALLOC_FAIL;
perf->erfType = ERROR_NOT_ENOUGH_MEMORY;
perf->fError = TRUE;
diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c
index a522b86..91e2daf 100644
--- a/dlls/cabinet/fdi.c
+++ b/dlls/cabinet/fdi.c
@@ -377,7 +377,7 @@ HFDI __cdecl FDICreate(
return NULL;
}
- if (!((rv = ((HFDI) (*pfnalloc)(sizeof(FDI_Int)))))) {
+ if (!((rv = (*pfnalloc)(sizeof(FDI_Int))))) {
perf->erfOper = FDIERROR_ALLOC_FAIL;
perf->erfType = ERROR_NOT_ENOUGH_MEMORY;
perf->fError = TRUE;
More information about the wine-cvs
mailing list