diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-03-26 04:18:52 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-03-26 04:18:52 +0000 |
commit | 2dd816ac637bda7aeda972d1aa11c36753cfd25c (patch) | |
tree | ac26457b6447026ccf831f949cb657ca0cc22145 /games/xchomp | |
parent | c46e97706d312f33cd87e1a46206971404092089 (diff) | |
download | ports-2dd816ac637bda7aeda972d1aa11c36753cfd25c.tar.gz ports-2dd816ac637bda7aeda972d1aa11c36753cfd25c.zip |
Fix some warnings
Obtained from: OpenBSD
Notes
Notes:
svn path=/head/; revision=27055
Diffstat (limited to 'games/xchomp')
-rw-r--r-- | games/xchomp/files/patch-ac | 9 | ||||
-rw-r--r-- | games/xchomp/files/patch-ad | 9 | ||||
-rw-r--r-- | games/xchomp/files/patch-ae | 16 |
3 files changed, 34 insertions, 0 deletions
diff --git a/games/xchomp/files/patch-ac b/games/xchomp/files/patch-ac new file mode 100644 index 000000000000..59bf4f7717b8 --- /dev/null +++ b/games/xchomp/files/patch-ac @@ -0,0 +1,9 @@ +--- 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(); diff --git a/games/xchomp/files/patch-ad b/games/xchomp/files/patch-ad new file mode 100644 index 000000000000..bf641a2df995 --- /dev/null +++ b/games/xchomp/files/patch-ad @@ -0,0 +1,9 @@ +--- main.c.orig Fri Mar 18 06:12:24 1994 ++++ main.c Thu Mar 16 15:45:54 2000 +@@ -167,5 +167,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()) 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()) |