From b35da95733c873d6bb625764fd3c43c76a7172f7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 7 Jul 2018 20:54:34 +0200 Subject: [PATCH] fix fmt string --- src/util/dnsparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/dnsparser.c b/src/util/dnsparser.c index 6fb6d657f..24f1b18cf 100644 --- a/src/util/dnsparser.c +++ b/src/util/dnsparser.c @@ -959,7 +959,7 @@ GNUNET_DNSPARSER_builder_add_name (char *dst, GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Invalid DNS name `%s': label with %u characters encountered\n", name, - len); + (unsigned int) len); goto fail; /* label too long or empty */ } dst[pos++] = (char) (uint8_t) len; -- 2.25.1