diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-20 15:54:08 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-20 15:54:08 -0700 |
commit | 6c9b59bfc06d3ae8e9d3b40cc4dd4bb401eb2084 (patch) | |
tree | 6e5eeb5bb20ed8aab6c14f3a3146f92e96da4a89 /src/misc/vec | |
parent | f09afdf24c28d5e7f093151380a84ca21b69f8f2 (diff) | |
download | abc-6c9b59bfc06d3ae8e9d3b40cc4dd4bb401eb2084.tar.gz abc-6c9b59bfc06d3ae8e9d3b40cc4dd4bb401eb2084.tar.bz2 abc-6c9b59bfc06d3ae8e9d3b40cc4dd4bb401eb2084.zip |
Updated code for lazy man's synthesis.
Diffstat (limited to 'src/misc/vec')
-rw-r--r-- | src/misc/vec/vecStr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/vec/vecStr.h b/src/misc/vec/vecStr.h index cefa0ea9..cc57b2de 100644 --- a/src/misc/vec/vecStr.h +++ b/src/misc/vec/vecStr.h @@ -360,8 +360,8 @@ static inline void Vec_StrGrow( Vec_Str_t * p, int nCapMin ) { if ( p->nCap >= nCapMin ) return; - p->pArray = ABC_REALLOC( char, p->pArray, 2 * nCapMin ); - p->nCap = 2 * nCapMin; + p->pArray = ABC_REALLOC( char, p->pArray, nCapMin ); + p->nCap = nCapMin; } /**Function************************************************************* |