Commit f2df3d75 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

cabinet: Remove unneeded casts.

parent a084d1db
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment