summaryrefslogtreecommitdiff
path: root/epan/wmem/wmem_test.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-07-27 21:56:43 +0000
committerEvan Huus <eapache@gmail.com>2013-07-27 21:56:43 +0000
commita076d6332e4b890248ee79fca592e380693a2c51 (patch)
treef6404cecce8f75369eb9f3fb524ac47da66bfdbf /epan/wmem/wmem_test.c
parentb50424fad8afa7783e679d5e390aecea10fca024 (diff)
downloadwireshark-a076d6332e4b890248ee79fca592e380693a2c51.tar.gz
Use a #define, tweak a comment.
svn path=/trunk/; revision=50954
Diffstat (limited to 'epan/wmem/wmem_test.c')
-rw-r--r--epan/wmem/wmem_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wmem/wmem_test.c b/epan/wmem/wmem_test.c
index c4dec8bc98..c4a999a5af 100644
--- a/epan/wmem/wmem_test.c
+++ b/epan/wmem/wmem_test.c
@@ -263,8 +263,8 @@ wmem_test_allocator(wmem_allocator_type_t type, wmem_verify_func verify)
ptrs[i] = NULL;
}
- /* Run ~64,000 iterations */
- for (i=0; i<1024*64; i++) {
+ /* Run enough iterations to fill the array 64 times */
+ for (i=0; i<MAX_SIMULTANEOUS_ALLOCS*64; i++) {
gint ptrs_index;
gint new_size;