diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-03 20:38:03 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-03 20:38:03 -0700 |
commit | 63c95405439b464f6d801e68c15f767bc6336637 (patch) | |
tree | da4b2abf56c0ba4c5fe3b569c884c63dabc3af5e /src/misc/vec | |
parent | d1ffd8d703b04fb4753874f365fbe17074fe47c1 (diff) | |
download | abc-63c95405439b464f6d801e68c15f767bc6336637.tar.gz abc-63c95405439b464f6d801e68c15f767bc6336637.tar.bz2 abc-63c95405439b464f6d801e68c15f767bc6336637.zip |
Minor bug fixes.
Diffstat (limited to 'src/misc/vec')
-rw-r--r-- | src/misc/vec/vecWrd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc/vec/vecWrd.h b/src/misc/vec/vecWrd.h index 60b4e0b2..99aa1acb 100644 --- a/src/misc/vec/vecWrd.h +++ b/src/misc/vec/vecWrd.h @@ -428,7 +428,7 @@ static inline void Vec_WrdWriteEntry( Vec_Wrd_t * p, int i, word Entry ) SeeAlso [] ***********************************************************************/ -static inline word Vec_WrdAddToEntry( Vec_Wrd_t * p, int i, int Addition ) +static inline word Vec_WrdAddToEntry( Vec_Wrd_t * p, int i, word Addition ) { assert( i >= 0 && i < p->nSize ); return p->pArray[i] += Addition; @@ -482,7 +482,7 @@ static inline void Vec_WrdGrow( Vec_Wrd_t * p, int nCapMin ) SeeAlso [] ***********************************************************************/ -static inline void Vec_WrdFill( Vec_Wrd_t * p, int nSize, int Fill ) +static inline void Vec_WrdFill( Vec_Wrd_t * p, int nSize, word Fill ) { int i; Vec_WrdGrow( p, nSize ); @@ -502,7 +502,7 @@ static inline void Vec_WrdFill( Vec_Wrd_t * p, int nSize, int Fill ) SeeAlso [] ***********************************************************************/ -static inline void Vec_WrdFillExtra( Vec_Wrd_t * p, int nSize, int Fill ) +static inline void Vec_WrdFillExtra( Vec_Wrd_t * p, int nSize, word Fill ) { int i; if ( nSize <= p->nSize ) |