Fix some warnings

Obtained from:	OpenBSD
This commit is contained in:
Kris Kennaway 2000-03-26 04:18:52 +00:00
parent c46e97706d
commit 2dd816ac63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27055
3 changed files with 34 additions and 0 deletions

View File

@ -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();

View File

@ -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())

View File

@ -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())