fix fmt string
authorChristian Grothoff <christian@grothoff.org>
Sat, 7 Jul 2018 18:54:34 +0000 (20:54 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sat, 7 Jul 2018 18:54:34 +0000 (20:54 +0200)
src/util/dnsparser.c

index 6fb6d657f09f81f365b257b066f0bb8d3dcdc481..24f1b18cf47a0a1a29f51e2b55e6cb25bdc2d4d2 100644 (file)
@@ -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;