summaryrefslogtreecommitdiffstats
path: root/src/map/amap/amapMatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/amap/amapMatch.c')
-rw-r--r--src/map/amap/amapMatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/amap/amapMatch.c b/src/map/amap/amapMatch.c
index 85e03056..2276cfc2 100644
--- a/src/map/amap/amapMatch.c
+++ b/src/map/amap/amapMatch.c
@@ -47,7 +47,7 @@ Amap_Cut_t * Amap_ManDupCut( Amap_Man_t * p, Amap_Cut_t * pCut )
Amap_Cut_t * pNew;
int nBytes = sizeof(Amap_Cut_t) + sizeof(int) * pCut->nFans;
pNew = (Amap_Cut_t *)Aig_MmFlexEntryFetch( p->pMemCutBest, nBytes );
- memcpy( pNew, pCut, nBytes );
+ memcpy( pNew, pCut, (size_t)nBytes );
return pNew;
}