From 724dad438078141008a364ac2d2d3c12b8c1bc72 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sat, 20 Jul 2013 14:47:55 +0000 Subject: Fixed macro (again) --- src/htsinthash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/htsinthash.c b/src/htsinthash.c index 9a0f0c5..67c5aa7 100644 --- a/src/htsinthash.c +++ b/src/htsinthash.c @@ -405,12 +405,12 @@ static void inthash_compact_pool(inthash hashtable, size_t capacity) { inthash_assert(&dest[i] < max_dest); \ dest[i] = src[i]; \ } \ + /* update pool size */ \ + hashtable->pool.size += i; \ + assert(hashtable->pool.size <= capacity); \ } \ /* update source */ \ S = dest; \ - /* update pool size */ \ - hashtable->pool.size += i; \ - assert(hashtable->pool.size <= capacity); \ count++; \ } \ } while(0) -- cgit v1.2.3