diff options
Diffstat (limited to 'src/misc/vec/vecVec.h')
-rw-r--r-- | src/misc/vec/vecVec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/vec/vecVec.h b/src/misc/vec/vecVec.h index 700b962b..665ad7ae 100644 --- a/src/misc/vec/vecVec.h +++ b/src/misc/vec/vecVec.h @@ -266,7 +266,7 @@ static inline int Vec_VecLevelSize( Vec_Vec_t * p, int i ) static inline Vec_Ptr_t * Vec_VecEntry( Vec_Vec_t * p, int i ) { assert( i >= 0 && i < p->nSize ); - return p->pArray[i]; + return (Vec_Ptr_t *)p->pArray[i]; } /**Function************************************************************* @@ -283,7 +283,7 @@ static inline Vec_Ptr_t * Vec_VecEntry( Vec_Vec_t * p, int i ) static inline Vec_Int_t * Vec_VecEntryInt( Vec_Vec_t * p, int i ) { assert( i >= 0 && i < p->nSize ); - return p->pArray[i]; + return (Vec_Int_t *)p->pArray[i]; } /**Function************************************************************* |