mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 05:14:46 -04:00
Fix harmless clang enum warning
This commit is contained in:
parent
9e8cdf3d65
commit
b452a43450
2
http.c
2
http.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user