From: Adam Dickmeiss Date: Thu, 25 Dec 2008 20:31:24 +0000 (+0100) Subject: Use ZOOM_EVENT_MAX for size of ZOOM event array X-Git-Tag: v3.0.40~8 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a041518cb98067d3f7c7130258b09de83cde8821;p=yaz-moved-to-github.git Use ZOOM_EVENT_MAX for size of ZOOM event array --- diff --git a/zoom/zoom-benchmark.c b/zoom/zoom-benchmark.c index 589c7df..a91aef9 100644 --- a/zoom/zoom-benchmark.c +++ b/zoom/zoom-benchmark.c @@ -15,10 +15,10 @@ /* 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 {