diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-21 11:34:30 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-31 14:56:47 +1000 |
commit | 70347f20940550765c8a438185b67f9eabf9950e (patch) | |
tree | 9388ad573b1f7c1de62616c6088a4889e68c2f6c | |
parent | be202ce54fcb2e96fe3e296a64dd8e6e63d52488 (diff) |
eventcomm: substitute pointer with (void *)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/eventcomm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index f20462c..9192a51 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -182,7 +182,7 @@ EventDeviceOnHook(SynapticsPrivate * priv, SynapticsParameters * para) /* Try to grab the event device so that data don't leak to /dev/input/mice */ int ret; - SYSCALL(ret = ioctl(priv->fd, EVIOCGRAB, (pointer) 1)); + SYSCALL(ret = ioctl(priv->fd, EVIOCGRAB, (void *) 1)); if (ret < 0) { SynapticsMsg(priv, MSG_WARN, "can't grab event device, errno=%d\n", @@ -229,7 +229,7 @@ event_query_is_touchpad(int fd, BOOL test_grab) unsigned long keybits[NBITS(KEY_MAX)] = { 0 }; if (test_grab) { - SYSCALL(rc = ioctl(fd, EVIOCGRAB, (pointer) 1)); + SYSCALL(rc = ioctl(fd, EVIOCGRAB, (void *) 1)); if (rc < 0) return FALSE; } @@ -266,7 +266,7 @@ event_query_is_touchpad(int fd, BOOL test_grab) unwind: if (test_grab) - SYSCALL(ioctl(fd, EVIOCGRAB, (pointer) 0)); + SYSCALL(ioctl(fd, EVIOCGRAB, (void *) 0)); return (ret == TRUE); } |