cabinet: Remove unneeded casts.

This commit is contained in:
Andrew Talbot 2007-12-05 21:28:30 +00:00 committed by Alexandre Julliard
parent a084d1db62
commit f2df3d7582
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;