summaryrefslogtreecommitdiff
path: root/stringsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'stringsort.c')
-rw-r--r--stringsort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stringsort.c b/stringsort.c
index 8c80e21..a91ff6d 100644
--- a/stringsort.c
+++ b/stringsort.c
@@ -52,7 +52,7 @@ void DoStringSort(void)
unsigned char* arraybase = NULL;
clock_t total_time = 0;
int iterations = 0;
- int num_arrays = 1;
+ static int num_arrays = 1;
static int is_adjusted = FALSE;
if (is_adjusted == FALSE) {