From a8859b95d3d445854a21d31704f0f05189e63a9f Mon Sep 17 00:00:00 2001 From: Alberto Leiva Popper Date: Wed, 29 Oct 2025 16:55:56 -0600 Subject: [PATCH] Fix missing #include and cast warnings --- src/asn1/asn1c/INTEGER.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/asn1/asn1c/INTEGER.c b/src/asn1/asn1c/INTEGER.c index 9fc43a80..6d9eda59 100644 --- a/src/asn1/asn1c/INTEGER.c +++ b/src/asn1/asn1c/INTEGER.c @@ -11,6 +11,7 @@ #include "asn1/asn1c/asn_internal.h" #include "common.h" #include "json_util.h" +#include "log.h" /* * INTEGER basic type description. @@ -801,7 +802,7 @@ INTEGER_copy(INTEGER_t *to, INTEGER_t *from) static int just_print(const void *buffer, size_t size, void *pfx) { - pr_trc("%s: %.*s", (char const *)pfx, (int)size, buffer); + pr_trc("%s: %.*s", (char const *)pfx, (int)size, (char *)buffer); return 0; } -- 2.47.3