diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-11-09 03:33:19 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-11-09 03:33:19 +0000 |
commit | 5901f4586235caba9fd264ff1e911708efe6cb17 (patch) | |
tree | b50f35d46942b1117a6e8de9e9a8cd6fd6c56c75 | |
parent | 3384ea6c30532381dbe30d540bb657a7463e28dc (diff) |
roll back to working version
conform to ISO C++
svn path=/trunk/; revision=2249
-rw-r--r-- | externals/grill/pool/source/pool.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/externals/grill/pool/source/pool.cpp b/externals/grill/pool/source/pool.cpp index 815d76a9..8c89a676 100644 --- a/externals/grill/pool/source/pool.cpp +++ b/externals/grill/pool/source/pool.cpp @@ -231,7 +231,8 @@ V pooldir::SetVal(const A &key,AtomList *data,BL over) BL pooldir::SetVali(I rix,AtomList *data) { poolval *prv = NULL,*ix = NULL; - for(I vix = 0; vix < vsize; ++vix) + int vix; + for(vix = 0; vix < vsize; ++vix) if(rix > vals[vix].cnt) rix -= vals[vix].cnt; else { ix = vals[vix].v; |