diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/comp_err.c | 2 | ||||
-rw-r--r-- | extra/libevent/kqueue.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c index 9326444ade9..bca8d3895cb 100644 --- a/extra/comp_err.c +++ b/extra/comp_err.c @@ -660,7 +660,7 @@ static ha_checksum checksum_format_specifier(const char* msg) case 'u': case 'x': case 's': - chksum= my_checksum(chksum, start, (uint) (p + 1 - start)); + chksum= my_checksum(chksum, (uchar*) start, (uint) (p + 1 - start)); start= 0; /* Not in format specifier anymore */ break; diff --git a/extra/libevent/kqueue.c b/extra/libevent/kqueue.c index 775698baa67..eec5a6ab6fb 100644 --- a/extra/libevent/kqueue.c +++ b/extra/libevent/kqueue.c @@ -144,7 +144,7 @@ kq_init(struct event_base *base) */ if (kevent(kq, kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || - kqueueop->events[0].ident != -1 || + ((int) kqueueop->events[0].ident) != -1 || kqueueop->events[0].flags != EV_ERROR) { event_warn("%s: detected broken kqueue; not using.", __func__); free(kqueueop->changes); |