Use ZOOM_EVENT_MAX for size of ZOOM event array
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 25 Dec 2008 20:31:24 +0000 (21:31 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 25 Dec 2008 20:31:24 +0000 (21:31 +0100)
zoom/zoom-benchmark.c

index 589c7df..a91aef9 100644 (file)
 
 
 /* naming events */
-static char* zoom_events[10];
+static char* zoom_events[ZOOM_EVENT_MAX+1];
 
 /* re-sorting event numbers to progress numbers */
-static int zoom_progress[10];
+static int zoom_progress[ZOOM_EVENT_MAX+1];
 
 /* commando line parameters */
 static struct parameters_t {