diff --git a/src/gdd/gddAppFuncTable.h b/src/gdd/gddAppFuncTable.h index 36039e732..9ebb5006a 100644 --- a/src/gdd/gddAppFuncTable.h +++ b/src/gdd/gddAppFuncTable.h @@ -196,7 +196,8 @@ void gddAppFuncTable::newTbl(unsigned newApplTypeMax) pMNewFuncTbl = (gddAppFuncTableStatus (PV::**)(gdd &)) new char[sizeof( gddAppFuncTableStatus (PV::*)(gdd &) ) * maxApp]; # else - pMNewFuncTbl = new gddAppFuncTableStatus (PV::*)(gdd &) [maxApp]; + typedef gddAppFuncTableStatus (PV::*pMF_t)(gdd &); + pMNewFuncTbl = new pMF_t [maxApp]; # endif if (pMNewFuncTbl) { for (i=0u; i