diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-02-25 07:54:53 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-02-25 07:54:53 -0800 |
commit | 4216976321197d0fd73e0f61beafa3625e234268 (patch) | |
tree | cea08ce762dd55fa34deb6c7e1ea52373a0931bc | |
parent | 9005c6bfe2b2bfd491002f17045af8c1e8feb12e (diff) | |
download | abc-4216976321197d0fd73e0f61beafa3625e234268.tar.gz abc-4216976321197d0fd73e0f61beafa3625e234268.tar.bz2 abc-4216976321197d0fd73e0f61beafa3625e234268.zip |
g++ compiler errors.
-rw-r--r-- | src/base/abc/abcUtil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/abc/abcUtil.c b/src/base/abc/abcUtil.c index faf224dd..6a3ae282 100644 --- a/src/base/abc/abcUtil.c +++ b/src/base/abc/abcUtil.c @@ -2730,14 +2730,14 @@ Abc_Ntk_t * Abc_NtkSplitSop( Abc_Ntk_t * pNtk, int nCubesMax, int fVerbose ) continue; } nSplits = (nCubes / nCubesMax) + (int)(nCubes % nCubesMax > 0); - pSopStr = ((char *)pObjNewRoot->pData); - pObjNewRoot->pData = Abc_SopCreateOr(pNtkNew->pManFunc, nSplits, NULL); + pSopStr = (char *)pObjNewRoot->pData; + pObjNewRoot->pData = Abc_SopCreateOr((Mem_Flex_t *)pNtkNew->pManFunc, nSplits, NULL); if ( Abc_SopIsComplement(pSopStr) ) { Abc_SopComplement( pSopStr ); Abc_SopComplement( (char *)pObjNewRoot->pData ); } - pTempSop = pObj->pData; pObj->pData = "?"; + pTempSop = (char *)pObj->pData; pObj->pData = (char *)"?"; for ( j = 0; j < nSplits; j++ ) { // clone the node @@ -2750,7 +2750,7 @@ Abc_Ntk_t * Abc_NtkSplitSop( Abc_Ntk_t * pNtk, int nCubesMax, int fVerbose ) nCubesThis = (j < nCubes / nCubesMax) ? nCubesMax : nCubes % nCubesMax; pSopStr2 = pSopStr + (Abc_ObjFaninNum(pObj) + 3) * nCubesThis; Symb = *pSopStr2; *pSopStr2 = 0; - pObjNew->pData = Abc_SopRegister( pNtkNew->pManFunc, pSopStr ); + pObjNew->pData = Abc_SopRegister( (Mem_Flex_t *)pNtkNew->pManFunc, pSopStr ); *pSopStr2 = Symb; pSopStr = pSopStr2; } |