summaryrefslogtreecommitdiffstats
path: root/src/aig/hop
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/aig/hop
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/aig/hop')
-rw-r--r--src/aig/hop/hopBalance.c2
-rw-r--r--src/aig/hop/hopUtil.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/aig/hop/hopBalance.c b/src/aig/hop/hopBalance.c
index 9240ffa9..d7458bdc 100644
--- a/src/aig/hop/hopBalance.c
+++ b/src/aig/hop/hopBalance.c
@@ -188,7 +188,7 @@ Vec_Ptr_t * Hop_NodeBalanceCone( Hop_Obj_t * pObj, Vec_Vec_t * vStore, int Level
if ( Vec_VecSize( vStore ) <= Level )
Vec_VecPush( vStore, Level, 0 );
// get the temporary array of nodes
- vNodes = (Vec_Ptr_t *)Vec_VecEntry( vStore, Level );
+ vNodes = Vec_VecEntry( vStore, Level );
Vec_PtrClear( vNodes );
// collect the nodes in the implication supergate
RetValue = Hop_NodeBalanceCone_rec( pObj, pObj, vNodes );
diff --git a/src/aig/hop/hopUtil.c b/src/aig/hop/hopUtil.c
index 17578f06..8cc7bdde 100644
--- a/src/aig/hop/hopUtil.c
+++ b/src/aig/hop/hopUtil.c
@@ -341,7 +341,7 @@ void Hop_ObjPrintEqn( FILE * pFile, Hop_Obj_t * pObj, Vec_Vec_t * vLevels, int L
}
// AND case
Vec_VecExpand( vLevels, Level );
- vSuper = (Vec_Ptr_t *)Vec_VecEntry(vLevels, Level);
+ vSuper = Vec_VecEntry(vLevels, Level);
Hop_ObjCollectMulti( pObj, vSuper );
fprintf( pFile, "%s", (Level==0? "" : "(") );
Vec_PtrForEachEntry( Hop_Obj_t *, vSuper, pFanin, i )
@@ -390,7 +390,7 @@ void Hop_ObjPrintVerilog( FILE * pFile, Hop_Obj_t * pObj, Vec_Vec_t * vLevels, i
if ( Hop_ObjIsExor(pObj) )
{
Vec_VecExpand( vLevels, Level );
- vSuper = (Vec_Ptr_t *)Vec_VecEntry( vLevels, Level );
+ vSuper = Vec_VecEntry( vLevels, Level );
Hop_ObjCollectMulti( pObj, vSuper );
fprintf( pFile, "%s", (Level==0? "" : "(") );
Vec_PtrForEachEntry( Hop_Obj_t *, vSuper, pFanin, i )
@@ -428,7 +428,7 @@ void Hop_ObjPrintVerilog( FILE * pFile, Hop_Obj_t * pObj, Vec_Vec_t * vLevels, i
}
// AND case
Vec_VecExpand( vLevels, Level );
- vSuper = (Vec_Ptr_t *)Vec_VecEntry(vLevels, Level);
+ vSuper = Vec_VecEntry(vLevels, Level);
Hop_ObjCollectMulti( pObj, vSuper );
fprintf( pFile, "%s", (Level==0? "" : "(") );
Vec_PtrForEachEntry( Hop_Obj_t *, vSuper, pFanin, i )