From: James Jones Date: Tue, 7 Sep 2021 14:05:16 +0000 (-0500) Subject: Correct casts in TEST_CHECK_LEN() (#4221) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e54666aefd7224aa6e4e597d88b588c5f97831e;p=thirdparty%2Ffreeradius-server.git Correct casts in TEST_CHECK_LEN() (#4221) --- diff --git a/src/lib/util/acutest_helpers.h b/src/lib/util/acutest_helpers.h index 31f3a293f31..bdc3250290d 100644 --- a/src/lib/util/acutest_helpers.h +++ b/src/lib/util/acutest_helpers.h @@ -31,8 +31,8 @@ extern "C" { do { \ size_t _our_got = (_got); \ TEST_CHECK(_exp == _our_got); \ - TEST_MSG("Expected length : %zu", (ssize_t)_exp); \ - TEST_MSG("Got length : %zu", (ssize_t)_our_got); \ + TEST_MSG("Expected length : %zu", (size_t)_exp); \ + TEST_MSG("Got length : %zu", (size_t)_our_got); \ } while(0) #define TEST_CHECK_RET(_got, _exp) \