Module Name: src
Committed By: dholland
Date: Thu Aug 27 00:19:52 UTC 2009
Modified Files:
src/games/wump: wump.c
Log Message:
remove unnecessary cast
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/games/wump/wump.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/wump/wump.c
diff -u src/games/wump/wump.c:1.24 src/games/wump/wump.c:1.25
--- src/games/wump/wump.c:1.24 Wed Aug 12 09:00:10 2009
+++ src/games/wump/wump.c Thu Aug 27 00:19:52 2009
@@ -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 @@
#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 @@
* 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