summaryrefslogtreecommitdiffstats
path: root/wump
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1999-07-14 22:49:27 +0000
committerhubertf <hubertf@NetBSD.org>1999-07-14 22:49:27 +0000
commitbbe487c9b49fadb1264b0b120459fe7dd3db25d9 (patch)
tree9d2bddb2773e33c6d048b820d4e327c468bfca7c /wump
parent1a653b040deed0eba3962c2581307c94cbda05c0 (diff)
downloadbsdgames-darwin-bbe487c9b49fadb1264b0b120459fe7dd3db25d9.tar.gz
bsdgames-darwin-bbe487c9b49fadb1264b0b120459fe7dd3db25d9.tar.zst
bsdgames-darwin-bbe487c9b49fadb1264b0b120459fe7dd3db25d9.zip
This patch fixes a -Wcast-qual warning in wump(6).
Submitted in 7994 by Joseph Myers <jsm28@cam.ac.uk>
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 d950f958..5d6066b3 100644
--- a/wump/wump.c
+++ b/wump/wump.c
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#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
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