From: Alberto Leiva Popper Date: Wed, 29 Oct 2025 22:55:56 +0000 (-0600) Subject: Fix missing #include and cast warnings X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8859b95d3d445854a21d31704f0f05189e63a9f;p=thirdparty%2FFORT-validator.git Fix missing #include and cast warnings --- 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; }