mirror of https://github.com/YosysHQ/abc.git
Compiler warnings.
This commit is contained in:
parent
2cfc4cc174
commit
f4d3bf859e
|
|
@ -677,7 +677,7 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS
|
||||||
pCur++;
|
pCur++;
|
||||||
nSize = Gia_AigerReadInt(pCur);
|
nSize = Gia_AigerReadInt(pCur);
|
||||||
pCurTemp = pCur + nSize + 4; pCur += 4;
|
pCurTemp = pCur + nSize + 4; pCur += 4;
|
||||||
pNew->pCellStr = Abc_UtilStrsav( (char*)pCur ); pCur += strlen(pCur) + 1;
|
pNew->pCellStr = Abc_UtilStrsav( (char*)pCur ); pCur += strlen((char*)pCur) + 1;
|
||||||
nSize = nSize - strlen(pNew->pCellStr) - 1;
|
nSize = nSize - strlen(pNew->pCellStr) - 1;
|
||||||
assert( nSize % 4 == 0 );
|
assert( nSize % 4 == 0 );
|
||||||
pNew->vConfigs = Vec_IntStart(nSize / 4);
|
pNew->vConfigs = Vec_IntStart(nSize / 4);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue