]> granicus.if.org Git - nethack/commitdiff
get rid of another warning
authornethack.allison <nethack.allison>
Fri, 11 Jan 2002 22:51:58 +0000 (22:51 +0000)
committernethack.allison <nethack.allison>
Fri, 11 Jan 2002 22:51:58 +0000 (22:51 +0000)
M. Allison

src/worn.c

index 96c611731377f6292670e65e0d0bcd25060f411d..96dd00c6c097a9410505ac795fe58b7279ac899e 100644 (file)
@@ -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: