From: Berbe <4251220+Berbe@users.noreply.github.com> Date: Sat, 29 Aug 2020 16:41:39 +0000 (+0200) Subject: Fix: long -> enum evhttp_cmd_type type X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2a9ecffefc5c547cadddbff90e2a574be58168e;p=libevent Fix: long -> enum evhttp_cmd_type type --- diff --git a/test/regress_http.c b/test/regress_http.c index 282d6f7c..39d01cbf 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -5176,8 +5176,8 @@ http_error_callback_test_done(struct evhttp_request *req, void *arg) test_info = state_info->test; tt_assert(req); - tt_int_op(evhttp_request_get_command(req), ==, - test_info->type); + tt_assert_op_type(evhttp_request_get_command(req), ==, + test_info->type, enum evhttp_cmd_type, "%d"); tt_int_op(evhttp_request_get_response_code(req), ==, test_info->response_code);