summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-12-13 10:15:32 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-12-13 10:15:32 -0800
commitb2bd941a7e267bfa38e7708a1c4cebe03562401b (patch)
tree7eaf1b17e77d1a2b5a715e54167ebb0bb57db78b
parent5a8f8b8aa47b2130fe7ed1568ca4e70ffc827c51 (diff)
downloadabc-b2bd941a7e267bfa38e7708a1c4cebe03562401b.tar.gz
abc-b2bd941a7e267bfa38e7708a1c4cebe03562401b.tar.bz2
abc-b2bd941a7e267bfa38e7708a1c4cebe03562401b.zip
Unifification of custom extensions.
-rw-r--r--src/aig/gia/giaAigerExt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/gia/giaAigerExt.c b/src/aig/gia/giaAigerExt.c
index fa79e589..041c17a1 100644
--- a/src/aig/gia/giaAigerExt.c
+++ b/src/aig/gia/giaAigerExt.c
@@ -119,7 +119,7 @@ Vec_Str_t * Gia_WriteEquivClasses( Gia_Man_t * p )
{
int nEquivSize;
unsigned char * pBuffer = Gia_WriteEquivClassesInt( p, &nEquivSize );
- return Vec_StrAllocArray( pBuffer, nEquivSize );
+ return Vec_StrAllocArray( (char *)pBuffer, nEquivSize );
}
/**Function*************************************************************
@@ -202,7 +202,7 @@ Vec_Str_t * Gia_AigerWriteMapping( Gia_Man_t * p )
{
int nMapSize;
unsigned char * pBuffer = Gia_AigerWriteMappingInt( p, &nMapSize );
- return Vec_StrAllocArray( pBuffer, nMapSize );
+ return Vec_StrAllocArray( (char *)pBuffer, nMapSize );
}
/**Function*************************************************************