diff options
author | oga | 2009-01-23 18:58:40 +0000 |
---|---|---|
committer | oga | 2009-01-23 18:58:40 +0000 |
commit | f766a2baaec283eabcfa26f0c60e9a596b43459d (patch) | |
tree | af0bf5a5d5b494570033e062255fb8d34be055dc /xevents.c | |
parent | 4b2cd3a9e6fb79dc8497bc499aea252775e9029c (diff) | |
download | cwm-f766a2baaec283eabcfa26f0c60e9a596b43459d.tar.gz |
Move the keybinding argument to a union to prevent warnings where
sizeof(int) != sizeof(void *). This has been annoying me for ages.
ok okan@, todd@
Diffstat (limited to '')
-rw-r--r-- | xevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: xevents.c,v 1.37 2009/01/22 19:01:56 okan Exp $ + * $Id: xevents.c,v 1.38 2009/01/23 18:58:40 oga Exp $ */ /* @@ -294,7 +294,7 @@ xev_handle_keypress(struct xevent *xev, XEvent *ee) if (kb->flags & KBFLAG_NEEDCLIENT) goto out; - (*kb->callback)(cc, kb->argument); + (*kb->callback)(cc, &kb->argument); out: xev_register(xev); |