From f2df3d7582ab558daaff07550d90c25900b65169 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Wed, 5 Dec 2007 21:28:30 +0000 Subject: [PATCH] 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 b0774c04c47..55c219d9adf 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 a522b867e2f..91e2daf21dd 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;