From 0940527c6543fe0ae417afab7b6da9ebe3a1c44b Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 20 Feb 2001 19:18:53 +0000 Subject: [PATCH] rearranged to suit GNU compiler --- src/gdd/gddAppFuncTable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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