From 2ed2e35aa758a01f848b2f3db98b20cb1eac4a9e Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 13 Dec 2019 15:09:49 +0100 Subject: [PATCH] fixing two size_t printfs --- lib/src/asn1/asn1_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/asn1/asn1_utils.cc b/lib/src/asn1/asn1_utils.cc index d45213b9a..ba29ebec2 100644 --- a/lib/src/asn1/asn1_utils.cc +++ b/lib/src/asn1/asn1_utils.cc @@ -1275,7 +1275,7 @@ pack(bit_ref& bref, const std::string& s, size_t lb, size_t ub, size_t alb, size // TODO: print error // NOTE: This should be valid for exts srsasn_log_print( - LOG_LEVEL_ERROR, "The PrintableString size=%d is not within the limits [%d, %d]\n", s.size(), alb, aub); + LOG_LEVEL_ERROR, "The PrintableString size=%zd is not within the limits [%d, %d]\n", s.size(), alb, aub); return SRSASN_ERROR_ENCODE_FAIL; } size_t b = asn_string_utils::get_nof_bits_per_char(lb, ub, aligned);