From c2a9ecffefc5c547cadddbff90e2a574be58168e Mon Sep 17 00:00:00 2001 From: Berbe <4251220+Berbe@users.noreply.github.com> Date: Sat, 29 Aug 2020 18:41:39 +0200 Subject: [PATCH] Fix: long -> enum evhttp_cmd_type type --- test/regress_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.40.0