From d056f6049e95a1ce459f748e1e22aea7a59edf08 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 2 Aug 2012 08:08:39 +0200 Subject: [PATCH] fix an intermittently segfaulting test --- src/kernel/region.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/region.c b/src/kernel/region.c index c2d5e6587..491efa290 100644 --- a/src/kernel/region.c +++ b/src/kernel/region.c @@ -1604,7 +1604,7 @@ int owner_change(const region * r) if (r->land && r->land->ownership) { return r->land->ownership->since_turn; } - return -1; + return INT_MIN; } bool is_mourning(const region * r, int in_turn)