From 2dd816ac637bda7aeda972d1aa11c36753cfd25c Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 26 Mar 2000 04:18:52 +0000 Subject: Fix some warnings Obtained from: OpenBSD --- games/xchomp/files/patch-ae | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 games/xchomp/files/patch-ae (limited to 'games/xchomp/files/patch-ae') diff --git a/games/xchomp/files/patch-ae b/games/xchomp/files/patch-ae new file mode 100644 index 000000000000..9c4c06957fb1 --- /dev/null +++ b/games/xchomp/files/patch-ae @@ -0,0 +1,16 @@ +--- props.c.orig Fri Mar 18 06:13:17 1994 ++++ props.c Thu Mar 16 15:46:08 2000 +@@ -116,5 +116,5 @@ + switch (event.type) { + case KeyPress: +- XLookupString(&event, &c_buf, 1, &last_key, &status); ++ XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status); + if ((last_key == XK_q) || (last_key == XK_Q)) + do_exit(); +@@ -176,5 +176,5 @@ + switch (event.type) { + case KeyPress: +- XLookupString(&event, &c_buf, 1, &last_key, &status); ++ XLookupString((XKeyEvent *) &event, &c_buf, 1, &last_key, &status); + if (last_key == XK_space) + if (!pause_seq()) -- cgit v1.2.3