diff options
author | sabetts <sabetts> | 2002-11-20 09:29:37 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2002-11-20 09:29:37 +0000 |
commit | d8b1104be304c1c67db4f16389696ea82a3e6699 (patch) | |
tree | 09e160a1339b2cccc700884419265234f2155f4b /src/actions.c | |
parent | 34703b2c03d6f5eb15b9357d9ba6fc707944aa98 (diff) | |
download | ratpoison-d8b1104be304c1c67db4f16389696ea82a3e6699.zip |
* src/ratpoison.h[!HAVE_VARARG_MACROS]: PRINT_ERROR and
PRINT_DEBUG are defined as void macros.
* src/events.c (client_msg): Add semicolon to the end of a
PRINT_DEBUG line.
* src/actions.c (cmd_bind): typecast data as a (char *) before
using it in (char *) pointer arithmetic.
* configure.in: Add check to see if the preprocessor has variable
argument macro capabilities.
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index 61c785c..2779101 100644 --- a/src/actions.c +++ b/src/actions.c @@ -455,7 +455,7 @@ cmd_bind (int interactive, void *data) keydesc = (char*) xmalloc (strlen (data) + 1); sscanf (data, "%s", keydesc); - cmd = data + strlen (keydesc); + cmd = ((char *)data) + strlen (keydesc); /* Gobble remaining whitespace before command starts */ while (*cmd == ' ') |