mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
address some compiler warnings in debug mode
svn:r630
This commit is contained in:
parent
6baff52296
commit
2fde221759
2
http.c
2
http.c
@ -1329,7 +1329,7 @@ evhttp_get_body_length(struct evhttp_request *req)
|
||||
}
|
||||
}
|
||||
|
||||
event_debug(("%s: bytes to read: %d (in buffer %d)\n",
|
||||
event_debug(("%s: bytes to read: %d (in buffer %ld)\n",
|
||||
__func__, req->ntoread,
|
||||
EVBUFFER_LENGTH(req->evcon->input_buffer)));
|
||||
|
||||
|
2
kqueue.c
2
kqueue.c
@ -190,7 +190,7 @@ kq_insert(struct kqop *kqop, struct kevent *kev)
|
||||
memcpy(&kqop->changes[kqop->nchanges++], kev, sizeof(struct kevent));
|
||||
|
||||
event_debug(("%s: fd %d %s%s",
|
||||
__func__, kev->ident,
|
||||
__func__, (int)kev->ident,
|
||||
kev->filter == EVFILT_READ ? "EVFILT_READ" : "EVFILT_WRITE",
|
||||
kev->flags == EV_DELETE ? " (del)" : ""));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user