1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/games/xchomp/files/patch-ac
Kris Kennaway 2dd816ac63 Fix some warnings
Obtained from:	OpenBSD
2000-03-26 04:18:52 +00:00

10 lines
357 B
Plaintext

--- demo.c.orig Fri Mar 18 06:12:23 1994
+++ demo.c Thu Mar 16 15:45:38 2000
@@ -128,5 +128,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();