address some compiler warnings in debug mode

svn:r630
This commit is contained in:
Niels Provos 2008-02-09 16:03:01 +00:00
parent 6baff52296
commit 2fde221759
2 changed files with 2 additions and 2 deletions

2
http.c
View File

@ -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)));

View File

@ -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)" : ""));