]> granicus.if.org Git - nethack/commitdiff
int vs long
authorcohrs <cohrs>
Mon, 4 Aug 2003 20:44:56 +0000 (20:44 +0000)
committercohrs <cohrs>
Mon, 4 Aug 2003 20:44:56 +0000 (20:44 +0000)
the recent taking_off change lost the type "long" for taking_off, which is a
problem on any platform where sizeof(long) != sizeof(int)

src/do_wear.c

index b877ef0b3b37bfd6d4eca04ba7b931c5ea2cb7f9..e6e653b06a2462c1152a5fc1da65775a14146d31 100644 (file)
@@ -11,7 +11,7 @@ STATIC_DCL long takeoff_mask, taking_off;
 #else /* OVLB */
 
 STATIC_OVL NEARDATA long takeoff_mask = 0L;
-static NEARDATA taking_off = 0L;
+static NEARDATA long taking_off = 0L;
 
 static NEARDATA int todelay;
 static boolean cancelled_don = FALSE;