Skip to content

Fix warnings #207

Merged
merged 1 commit into from Mar 1, 2014

2 participants

@borisz
borisz commented Dec 11, 2013

Fix some warnings

src/aio/poller_kqueue.inc:83:36: warning: comparison of integers of different signs: 'uintptr_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (self->events [i].ident == hndl->fd)
src/aio/poller_kqueue.inc:116:36: warning: comparison of integers of different signs: 'uintptr_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (self->events [i].ident == hndl->fd &&
src/aio/poller_kqueue.inc:150:36: warning: comparison of integers of different signs: 'uintptr_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (self->events [i].ident == hndl->fd &&

src/utils/efd_pipe.inc:99:29: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
if (nn_fast (nbytes < sizeof (buf)))

@tailhook
nanomsg member
tailhook commented Mar 1, 2014

Patch seems ok. Can you state that the patch is submitted under MIT license?

@borisz
borisz commented Mar 1, 2014

Sure, this patch is submitted under the MIT license.
Thanks

@tailhook tailhook merged commit e326303 into nanomsg:master Mar 1, 2014
@borisz borisz deleted the borisz:bz/fix-warnings branch Mar 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.