diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-02-21 22:34:37 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-02-21 22:34:37 -0800 |
commit | 13e49cba361acc36235be1f5057f8fd3df241629 (patch) | |
tree | f2ae243a9922338c413dd7ce4317b5382194e13b /src/base/cba/cba.h | |
parent | d33d66f46e055e9ba539de42e26b9b5a46a3fbed (diff) | |
download | abc-13e49cba361acc36235be1f5057f8fd3df241629.tar.gz abc-13e49cba361acc36235be1f5057f8fd3df241629.tar.bz2 abc-13e49cba361acc36235be1f5057f8fd3df241629.zip |
Compiler warnings.
Diffstat (limited to 'src/base/cba/cba.h')
-rw-r--r-- | src/base/cba/cba.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/base/cba/cba.h b/src/base/cba/cba.h index b9a02a01..d5802250 100644 --- a/src/base/cba/cba.h +++ b/src/base/cba/cba.h @@ -695,15 +695,15 @@ static inline void Cba_NtkFree( Cba_Ntk_t * p ) static inline int Cba_NtkMemory( Cba_Ntk_t * p ) { int nMem = sizeof(Cba_Ntk_t); - nMem += Vec_IntMemory(&p->vInputs); - nMem += Vec_IntMemory(&p->vOutputs); - nMem += Vec_IntMemory(&p->vInfo); - nMem += Vec_StrMemory(&p->vType); - nMem += Vec_IntMemory(&p->vFanin); - nMem += Vec_IntMemory(&p->vIndex); - nMem += Vec_IntMemory(&p->vName); - nMem += Vec_IntMemory(&p->vFanout); - nMem += Vec_IntMemory(&p->vCopy); + nMem += (int)Vec_IntMemory(&p->vInputs); + nMem += (int)Vec_IntMemory(&p->vOutputs); + nMem += (int)Vec_IntMemory(&p->vInfo); + nMem += (int)Vec_StrMemory(&p->vType); + nMem += (int)Vec_IntMemory(&p->vFanin); + nMem += (int)Vec_IntMemory(&p->vIndex); + nMem += (int)Vec_IntMemory(&p->vName); + nMem += (int)Vec_IntMemory(&p->vFanout); + nMem += (int)Vec_IntMemory(&p->vCopy); return nMem; } static inline void Cba_NtkPrintStats( Cba_Ntk_t * p ) |