summaryrefslogtreecommitdiffstats
path: root/src/base/acb
diff options
context:
space:
mode:
authorBruno Schmitt <bruno@oschmitt.com>2017-07-04 09:35:42 +0200
committerBruno Schmitt <bruno@oschmitt.com>2017-07-04 09:35:42 +0200
commitf302e6f6ef1cfe7249f17642678c1620b5b8f988 (patch)
treed6c95a702ceeaa7ae844c639810a4ba45ecc890e /src/base/acb
parentbf6a053c648576c1e5493f2d5390eb78b2e3df1c (diff)
downloadabc-f302e6f6ef1cfe7249f17642678c1620b5b8f988.tar.gz
abc-f302e6f6ef1cfe7249f17642678c1620b5b8f988.tar.bz2
abc-f302e6f6ef1cfe7249f17642678c1620b5b8f988.zip
Small fixes for C++ compilers
Diffstat (limited to 'src/base/acb')
-rw-r--r--src/base/acb/acbAbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/acb/acbAbc.c b/src/base/acb/acbAbc.c
index 7b215a56..b3fddcac 100644
--- a/src/base/acb/acbAbc.c
+++ b/src/base/acb/acbAbc.c
@@ -192,7 +192,7 @@ Acb_Ntk_t * Acb_NtkFromNdr( char * pFileName, void * pModule, Abc_Nam_t * pNames
NameId = Ndr_ObjReadBody( p, Obj, NDR_OUTPUT );
nArray = Ndr_ObjReadArray( p, Obj, NDR_INPUT, &pArray );
Type = Ndr_ObjReadBody( p, Obj, NDR_OPERTYPE );
- ObjId = Acb_ObjAlloc( pNtk, Type, nArray, 0 );
+ ObjId = Acb_ObjAlloc( pNtk, (Acb_ObjType_t) Type, nArray, 0 );
Vec_IntWriteEntry( vMap, NameId, ObjId );
Acb_ObjSetName( pNtk, ObjId, NameId );
}