From a5e3bb85ce6e8d3c661df4e25a704d75dc232dd4 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 8 Mar 2026 20:35:22 +0100 Subject: [PATCH] cast enum to int --- tests/tunit/tool1623.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tunit/tool1623.c b/tests/tunit/tool1623.c index a79ccc97c4..e15aab8904 100644 --- a/tests/tunit/tool1623.c +++ b/tests/tunit/tool1623.c @@ -104,14 +104,14 @@ static CURLcode test_tool1623(const char *arg) ParameterError err = GetSizeParameter(check[i].input, &output); if(err != check[i].err) curl_mprintf("'%s' unexpectedly returned %d \n", - check[i].input, err); + check[i].input, (int)err); else if(check[i].amount != output) curl_mprintf("'%s' unexpectedly gave %" FMT_OFF_T "\n", check[i].input, output); else { #if 0 /* enable for debugging */ if(err) - curl_mprintf("'%s' returned %d\n", check[i].input, err); + curl_mprintf("'%s' returned %d\n", check[i].input, (int)err); else curl_mprintf("'%s' == %" FMT_OFF_T "\n", check[i].input, output); #endif