Branch: refs/heads/master
Home:
https://github.com/ClusterLabs/libqb
Commit: 5c7829662b6bcb9b4999be04f8d9a93f982bddba
https://github.com/ClusterLabs/libqb/commit/5c7829662b6bcb9b4999be04f8d9a...
Author: Ruben Kerkhof <ruben(a)rubenkerkhof.com>
Date: 2015-01-23 (Fri, 23 Jan 2015)
Changed paths:
M lib/loop_poll_kqueue.c
Log Message:
-----------
The udata member of the kevent struct is a void *
Fixes the following warnings under clang:
loop_poll_kqueue.c:58:2: warning: incompatible integer to pointer conversion assigning to
'void *' from 'intptr_t' (aka 'long') [-Wint-conversion]
EV_SET(&ke, fd, filters, EV_ADD | EV_ENABLE, 0, 0, (intptr_t)pe);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/event.h:54:16: note: expanded from macro 'EV_SET'
(kevp)->udata = (f); \
^ ~~~
Commit: ae8ac4683006ff9faa32e3b5cb00a7029f221e21
https://github.com/ClusterLabs/libqb/commit/ae8ac4683006ff9faa32e3b5cb00a...
Author: David Vossel <dvossel(a)redhat.com>
Date: 2015-01-29 (Thu, 29 Jan 2015)
Changed paths:
M lib/loop_poll_kqueue.c
Log Message:
-----------
Merge pull request #138 from rubenk/fix-clang-warning
The udata member of the kevent struct is a void *
Compare:
https://github.com/ClusterLabs/libqb/compare/fb664811105a...ae8ac4683006