Fix harmless clang enum warning

This commit is contained in:
Sebastian Hahn 2012-12-31 18:29:56 +01:00
parent 9e8cdf3d65
commit b452a43450

2
http.c
View File

@ -1651,7 +1651,7 @@ evhttp_parse_request_line(struct evhttp_request *req, char *line)
break;
} /* switch */
if (type == EVHTTP_REQ_UNKNOWN_) {
if ((int)type == EVHTTP_REQ_UNKNOWN_) {
event_debug(("%s: bad method %s on request %p from %s",
__func__, method, req, req->remote_host));
/* No error yet; we'll give a better error later when