diff options
-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; |