summaryrefslogtreecommitdiffstats
path: root/wump
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-27 00:19:52 +0000
committerdholland <dholland@NetBSD.org>2009-08-27 00:19:52 +0000
commitf5ed7a7689befa19412b81d396db6519104194c0 (patch)
tree85ea3d2a80b73ec38517cb9c638ac18c1d2344e0 /wump
parent426c0aba2be16817b2d722d6bd1af999c494defb (diff)
downloadbsdgames-darwin-f5ed7a7689befa19412b81d396db6519104194c0.tar.gz
bsdgames-darwin-f5ed7a7689befa19412b81d396db6519104194c0.tar.zst
bsdgames-darwin-f5ed7a7689befa19412b81d396db6519104194c0.zip
remove unnecessary cast
Diffstat (limited to 'wump')
-rw-r--r--wump/wump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wump/wump.c b/wump/wump.c
index dcc65fc3..302a46fc 100644
--- a/wump/wump.c
+++ b/wump/wump.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wump.c,v 1.24 2009/08/12 09:00:10 dholland Exp $ */
+/* $NetBSD: wump.c,v 1.25 2009/08/27 00:19:52 dholland Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\
#if 0
static char sccsid[] = "@(#)wump.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: wump.c,v 1.24 2009/08/12 09:00:10 dholland Exp $");
+__RCSID("$NetBSD: wump.c,v 1.25 2009/08/27 00:19:52 dholland Exp $");
#endif
#endif /* not lint */
@@ -596,7 +596,7 @@ try_again: lnk = (random() % room_num) + 1;
* make it easier on the intrepid adventurer.
*/
for (i = 1; i <= room_num; ++i)
- qsort(cave[i].tunnel, (u_int)link_num,
+ qsort(cave[i].tunnel, link_num,
sizeof(cave[i].tunnel[0]), int_compare);
#ifdef DEBUG