Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/wump This patch fixes a -Wcast-qual warning in wump(6).
details: https://anonhg.NetBSD.org/src/rev/51ee5b47780d
branches: trunk
changeset: 474670:51ee5b47780d
user: hubertf <hubertf%NetBSD.org@localhost>
date: Wed Jul 14 22:49:27 1999 +0000
description:
This patch fixes a -Wcast-qual warning in wump(6).
Submitted in 7994 by Joseph Myers <jsm28%cam.ac.uk@localhost>
diffstat:
games/wump/wump.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f8bdc7718f34 -r 51ee5b47780d games/wump/wump.c
--- a/games/wump/wump.c Wed Jul 14 22:46:21 1999 +0000
+++ b/games/wump/wump.c Wed Jul 14 22:49:27 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wump.c,v 1.8 1999/02/10 01:44:34 hubertf Exp $ */
+/* $NetBSD: wump.c,v 1.9 1999/07/14 22:49:27 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)wump.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: wump.c,v 1.8 1999/02/10 01:44:34 hubertf Exp $");
+__RCSID("$NetBSD: wump.c,v 1.9 1999/07/14 22:49:27 hubertf Exp $");
#endif
#endif /* not lint */
@@ -720,7 +720,7 @@
int_compare(a, b)
const void *a, *b;
{
- return(*(int *)a < *(int *)b ? -1 : 1);
+ return(*(const int *)a < *(const int *)b ? -1 : 1);
}
void
Home |
Main Index |
Thread Index |
Old Index