summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-09-29 15:33:13 +0000
committersabetts <sabetts>2004-09-29 15:33:13 +0000
commit442b8d1ae2f4419ca2e2e4d76ad06ae38d18d1c7 (patch)
tree0f8560315ca338841e8d70fbcff55ad995dbbe61 /src/events.c
parent6206d6ac617f244700cebb319fd9e53636cfbd83 (diff)
downloadratpoison-442b8d1ae2f4419ca2e2e4d76ad06ae38d18d1c7.zip
* configure.in: Warn when the history header or library is not
found and compile without history support. * src/ratpoison.h: change ifdef to check for HAVE_HISTORY. * src/manage.c (get_state): change data to an unsigned char and cast data to a long* when it's used. * src/main.c (main): change ifdef to check for HAVE_HISTORY. (clean_up): likewise * src/history.c: change ifdef to check for HAVE_HISTORY. * src/events.c (receive_command): make prop_return an unsigned char. * src/editor.c (editor_history_previous): change ifdef to check for HAVE_HISTORY. (editor_history_next): likewise (editor_enter): likewise
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/events.c b/src/events.c
index 1d62e74..001eab6 100644
--- a/src/events.c
+++ b/src/events.c
@@ -490,7 +490,7 @@ receive_command ()
int format_ret;
unsigned long nitems;
unsigned long bytes_after;
- void *prop_return;
+ unsigned char *prop_return;
int offset;
/* Init offset to 0. In the case where there is more than one window
@@ -510,7 +510,7 @@ receive_command ()
offset, length,
True, XA_WINDOW, &type_ret, &format_ret,
&nitems,
- &bytes_after, (unsigned char **)&prop_return);
+ &bytes_after, &prop_return);
/* Update the offset to point to the next window (if there is
another one). */