fix format string error
authorChristian Grothoff <christian@grothoff.org>
Fri, 17 Mar 2017 18:58:06 +0000 (19:58 +0100)
committerChristian Grothoff <christian@grothoff.org>
Fri, 17 Mar 2017 18:58:06 +0000 (19:58 +0100)
src/secretsharing/gnunet-service-secretsharing.c

index e157b13ff30c3fe9d4417b12fafe682698ec6df3..ccdba12c29e45c0fe5fc883788778b1591642484 100644 (file)
@@ -719,9 +719,9 @@ keygen_round1_new_element (void *cls,
   if (element->size != sizeof (struct GNUNET_SECRETSHARING_KeygenCommitData))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-                "keygen commit data with wrong size (%u) in consensus, "
-                " %u expected\n",
-                element->size, sizeof (struct GNUNET_SECRETSHARING_KeygenCommitData));
+                "keygen commit data with wrong size (%u) in consensus, %u expected\n",
+                (unsigned int) element->size,
+                (unsigned int) sizeof (struct GNUNET_SECRETSHARING_KeygenCommitData));
     return;
   }