cabinet: Remove unneeded casts.
This commit is contained in:
parent
a084d1db62
commit
f2df3d7582
|
@ -188,7 +188,7 @@ HFCI __cdecl FCICreate(
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!((hfci = ((HFCI) (*pfnalloc)(sizeof(FCI_Int)))))) {
|
if (!((hfci = (*pfnalloc)(sizeof(FCI_Int))))) {
|
||||||
perf->erfOper = FCIERR_ALLOC_FAIL;
|
perf->erfOper = FCIERR_ALLOC_FAIL;
|
||||||
perf->erfType = ERROR_NOT_ENOUGH_MEMORY;
|
perf->erfType = ERROR_NOT_ENOUGH_MEMORY;
|
||||||
perf->fError = TRUE;
|
perf->fError = TRUE;
|
||||||
|
|
|
@ -377,7 +377,7 @@ HFDI __cdecl FDICreate(
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!((rv = ((HFDI) (*pfnalloc)(sizeof(FDI_Int)))))) {
|
if (!((rv = (*pfnalloc)(sizeof(FDI_Int))))) {
|
||||||
perf->erfOper = FDIERROR_ALLOC_FAIL;
|
perf->erfOper = FDIERROR_ALLOC_FAIL;
|
||||||
perf->erfType = ERROR_NOT_ENOUGH_MEMORY;
|
perf->erfType = ERROR_NOT_ENOUGH_MEMORY;
|
||||||
perf->fError = TRUE;
|
perf->fError = TRUE;
|
||||||
|
|
Loading…
Reference in New Issue