fix format string bug
authorChristian Grothoff <christian@grothoff.org>
Wed, 15 Feb 2017 15:54:04 +0000 (16:54 +0100)
committerChristian Grothoff <christian@grothoff.org>
Wed, 15 Feb 2017 15:54:04 +0000 (16:54 +0100)
src/cadet/test_cadet_local_mq.c

index 988ec725ecafa87c1025e840cd4ec5e987cab606..d3917b94a349937b69332bd4e09be2b78613cc0d 100644 (file)
@@ -189,8 +189,9 @@ handle_data_received (void *cls,
 
   payload = GNUNET_ntohll (msg->payload);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-             "Data callback payload %lu with cls: %p! Shutting down.\n",
-              payload, cls);
+             "Data callback payload %llu with cls: %p! Shutting down.\n",
+              (unsigned long long) payload,
+              cls);
   GNUNET_assert (42 == payload);
   got_data = GNUNET_YES;
   GNUNET_SCHEDULER_shutdown ();