fix format string issue
authorChristian Grothoff <christian@grothoff.org>
Mon, 9 Jan 2017 06:18:43 +0000 (07:18 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 9 Jan 2017 06:18:43 +0000 (07:18 +0100)
src/cadet/gnunet-service-cadet_channel.c

index 6f32bdc81cc73c43b68ab92d0f16a4c83662702e..11f23d38a4ddf072b6be6b9db74978cf1aad7fc7 100644 (file)
@@ -2393,7 +2393,8 @@ GCCH_send_prebuilt_message (const struct GNUNET_MessageHeader *message,
       struct GNUNET_CADET_DataACK *ack_msg;
       ack_msg = (struct GNUNET_CADET_DataACK *) message;
       data_id = ntohl (ack_msg->mid);
-      SPRINTF (info, "0x%010lX", ack_msg->futures);
+      SPRINTF (info, "0x%010lX",
+              (unsigned long int) ack_msg->futures);
       break;
     }
     case GNUNET_MESSAGE_TYPE_CADET_CHANNEL_CREATE: