From c153aef67538846ca07dff460a4915efe0ec14ce Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 5 Dec 2021 20:23:49 +0300 Subject: [PATCH] test_iplimit: fixed MHD parameter format --- src/testcurl/test_iplimit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testcurl/test_iplimit.c b/src/testcurl/test_iplimit.c index 076f15bd..09fe7773 100644 --- a/src/testcurl/test_iplimit.c +++ b/src/testcurl/test_iplimit.c @@ -135,7 +135,7 @@ testMultithreadedGet () d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, port, NULL, NULL, &ahc_echo, "GET", - MHD_OPTION_PER_IP_CONNECTION_LIMIT, 2, + MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 2, MHD_OPTION_END); if (d == NULL) return 16; @@ -246,7 +246,7 @@ testMultithreadedPoolGet () d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, port, NULL, NULL, &ahc_echo, "GET", - MHD_OPTION_PER_IP_CONNECTION_LIMIT, 2, + MHD_OPTION_PER_IP_CONNECTION_LIMIT, (unsigned int) 2, MHD_OPTION_THREAD_POOL_SIZE, MHD_CPU_COUNT, MHD_OPTION_END); if (d == NULL)