From 9a43b80724270d5d59b936e4e41a7ca12aefe251 Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 27 Jul 2008 13:55:23 +0000 Subject: [PATCH] increase headroom --- hostside/safety.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostside/safety.c b/hostside/safety.c index bea01b3..2df7bb6 100644 --- a/hostside/safety.c +++ b/hostside/safety.c @@ -1015,7 +1015,7 @@ static int report_nextseg(TrackLocation *t, struct TrackAdvanceContext *c, int r; u->lookahead++; - if (u->lookahead > (int)(NUM_SEGMENTS * 1.5)) { + if (u->lookahead > NUM_SEGMENTS * 2) { ouprintf(" [... infinite loop!]\n"); abort(); } -- 2.30.2