From cb4037dd56fe1a4b99f46b51fb67c850eddc1440 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 12 Feb 2007 07:29:07 +0000 Subject: [PATCH] warning --- src/common/kernel/eressea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index 724d7ceb8..8d603ef63 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -2432,7 +2432,7 @@ setstatus(struct unit * u, int status) { assert(status>=ST_AGGRO && status<=ST_FLEE); if (u->status!=status) { - u->status = status; + u->status = (status_t)status; #ifdef SIMPLE_ESCAPE if (u->status==ST_FLEE) { setguard(u, GUARD_NONE);