From: nethack.allison Date: Fri, 11 Jan 2002 22:51:58 +0000 (+0000) Subject: get rid of another warning X-Git-Tag: MOVE2GIT~3502 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e62cf4194c0f3400b2cb0e738e2f3ccc99c1317;p=nethack get rid of another warning M. Allison --- diff --git a/src/worn.c b/src/worn.c index 96c611731..96dd00c6c 100644 --- a/src/worn.c +++ b/src/worn.c @@ -147,7 +147,7 @@ int adjust; /* positive => increase speed, negative => decrease */ { struct obj *otmp; - int oldspeed = mon->mspeed; + unsigned int oldspeed = mon->mspeed; switch (adjust) { case 2: