Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/wump remove unnecessary cast
details: https://anonhg.NetBSD.org/src/rev/868aca4c7f33
branches: trunk
changeset: 746993:868aca4c7f33
user: dholland <dholland%NetBSD.org@localhost>
date: Thu Aug 27 00:19:52 2009 +0000
description:
remove unnecessary cast
diffstat:
games/wump/wump.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0b462b0228e3 -r 868aca4c7f33 games/wump/wump.c
--- a/games/wump/wump.c Wed Aug 26 23:18:57 2009 +0000
+++ b/games/wump/wump.c Thu Aug 27 00:19:52 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index