summaryrefslogtreecommitdiffstats
path: root/src/opt/res
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-08-01 12:35:34 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2011-08-01 12:35:34 +0700
commit820a147ef1e8ff307c3d4e675001372e8f636404 (patch)
tree00112747e075531f04a8326e2654791a75fddd9b /src/opt/res
parent957b9f0173d70a1b750f1ef09580065b9285761c (diff)
downloadabc-820a147ef1e8ff307c3d4e675001372e8f636404.tar.gz
abc-820a147ef1e8ff307c3d4e675001372e8f636404.tar.bz2
abc-820a147ef1e8ff307c3d4e675001372e8f636404.zip
Removed useless typecasts related to changes in Vec_VecEntry().
Diffstat (limited to 'src/opt/res')
-rw-r--r--src/opt/res/resCore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opt/res/resCore.c b/src/opt/res/resCore.c
index c27b3874..eecdd481 100644
--- a/src/opt/res/resCore.c
+++ b/src/opt/res/resCore.c
@@ -320,7 +320,7 @@ p->timeSim += clock() - clk;
p->nConstsUsed++;
pFunc = p->pSim->fConst1? Hop_ManConst1((Hop_Man_t *)pNtk->pManFunc) : Hop_ManConst0((Hop_Man_t *)pNtk->pManFunc);
- vFanins = (Vec_Ptr_t *)Vec_VecEntry( p->vResubsW, 0 );
+ vFanins = Vec_VecEntry( p->vResubsW, 0 );
Vec_PtrClear( vFanins );
Res_UpdateNetwork( pObj, vFanins, pFunc, p->vLevels );
continue;
@@ -389,7 +389,7 @@ p->timeInt += clock() - clk;
// update the network
clk = clock();
- Res_UpdateNetwork( pObj, (Vec_Ptr_t *)Vec_VecEntry(p->vResubsW, k), pFunc, p->vLevels );
+ Res_UpdateNetwork( pObj, Vec_VecEntry(p->vResubsW, k), pFunc, p->vLevels );
p->timeUpd += clock() - clk;
break;
}