diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-10-21 19:37:33 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-10-21 19:37:33 -0700 |
commit | a9317eac758b150ef839aa673e9a04bacb875d8b (patch) | |
tree | c197df11daac01cb6943937b5b19d55b318f1d18 /src/misc | |
parent | 7592aa8a3e4bce6a28fddeea87e90cd3f2fb02a6 (diff) | |
download | abc-a9317eac758b150ef839aa673e9a04bacb875d8b.tar.gz abc-a9317eac758b150ef839aa673e9a04bacb875d8b.tar.bz2 abc-a9317eac758b150ef839aa673e9a04bacb875d8b.zip |
Preparing to work with C++ code.
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/vec/vecPtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/vec/vecPtr.h b/src/misc/vec/vecPtr.h index e7ed1aa9..516429ff 100644 --- a/src/misc/vec/vecPtr.h +++ b/src/misc/vec/vecPtr.h @@ -891,7 +891,7 @@ static void Vec_PtrUniqify2( Vec_Ptr_t * p, int (*Vec_PtrSortCompare)(void**, vo Vec_IntFill( vCounts, 1, 1 ); if ( p->nSize < 2 ) return; - Vec_PtrSort( p, Vec_PtrSortCompare ); + Vec_PtrSort( p, (int (*)())Vec_PtrSortCompare ); for ( i = k = 1; i < p->nSize; i++ ) if ( Vec_PtrSortCompare(p->pArray+i, p->pArray+k-1) != 0 ) { |