summaryrefslogtreecommitdiffstats
path: root/src/opt/fret/fretMain.c
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2015-11-05 01:23:31 -0800
committerBaruch Sterin <baruchs@gmail.com>2015-11-05 01:23:31 -0800
commitc0ba25a69388765d7057ae8729e12b8a85435e35 (patch)
tree98c999fed9d9cf65b6425334e819c8b339fc6025 /src/opt/fret/fretMain.c
parent8ee49ff150a12f7183fe25e0a8d8e845391c100b (diff)
downloadabc-c0ba25a69388765d7057ae8729e12b8a85435e35.tar.gz
abc-c0ba25a69388765d7057ae8729e12b8a85435e35.tar.bz2
abc-c0ba25a69388765d7057ae8729e12b8a85435e35.zip
silence clang errors when compiling as C++
Diffstat (limited to 'src/opt/fret/fretMain.c')
-rw-r--r--src/opt/fret/fretMain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opt/fret/fretMain.c b/src/opt/fret/fretMain.c
index 2dd2bc03..2367007d 100644
--- a/src/opt/fret/fretMain.c
+++ b/src/opt/fret/fretMain.c
@@ -188,7 +188,7 @@ Abc_FlowRetime_MinReg( Abc_Ntk_t * pNtk, int fVerbose,
if (pManMR->vSinkDistHist) Vec_IntFree(pManMR->vSinkDistHist);
if (pManMR->maxDelay) Abc_FlowRetime_FreeTiming( pNtk );
while( Vec_PtrSize( pManMR->vInitConstraints )) {
- pData = Vec_PtrPop( pManMR->vInitConstraints );
+ pData = (InitConstraint_t*)Vec_PtrPop( pManMR->vInitConstraints );
//assert( pData->pBiasNode );
//Abc_NtkDeleteObj( pData->pBiasNode );
ABC_FREE( pData->vNodes.pArray );
@@ -791,7 +791,7 @@ Abc_FlowRetime_CopyInitState( Abc_Obj_t * pSrc, Abc_Obj_t * pDest ) {
}
if (!pManMR->fIsForward) {
- pObj = Abc_ObjData(pSrc);
+ pObj = (Abc_Obj_t*)Abc_ObjData(pSrc);
assert(Abc_ObjIsPi(pObj));
FDATA(pDest)->pInitObj = pObj;
}
@@ -1373,7 +1373,7 @@ void Abc_ObjPrintNeighborhood( Abc_Obj_t *pObj, int depth ) {
Abc_ObjPrintNeighborhood_rec( pObj, vNodes, depth );
while(Vec_PtrSize(vNodes)) {
- pObj2 = Vec_PtrPop(vNodes);
+ pObj2 = (Abc_Obj_t*)Vec_PtrPop(vNodes);
pObj2->fMarkC = 0;
}