]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Fix missing #include and cast warnings
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 29 Oct 2025 22:55:56 +0000 (16:55 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 29 Oct 2025 22:55:56 +0000 (16:55 -0600)
src/asn1/asn1c/INTEGER.c

index 9fc43a80df3e03b8a7c4a1a097b0a9b64175fff0..6d9eda59d94b8b7cb01d315bcb1b158ad2512875 100644 (file)
@@ -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;
 }