aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r--src/transport/test_transport_api_reliability.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c
index d6702cc25..da0f24ef0 100644
--- a/src/transport/test_transport_api_reliability.c
+++ b/src/transport/test_transport_api_reliability.c
@@ -228,10 +228,10 @@ notify_receive (void *cls,
228 { 228 {
229 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 229 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
230 "Expected message %u of size %u, got %u bytes of message %u\n", 230 "Expected message %u of size %u, got %u bytes of message %u\n",
231 ntohl (hdr->num), 231 (uint32_t) ntohl (hdr->num),
232 s, 232 s,
233 ntohs (hdr->header.size), 233 ntohs (hdr->header.size),
234 ntohl (hdr->num)); 234 (uint32_t) ntohl (hdr->num));
235 ccc->global_ret = GNUNET_SYSERR; 235 ccc->global_ret = GNUNET_SYSERR;
236 GNUNET_SCHEDULER_shutdown (); 236 GNUNET_SCHEDULER_shutdown ();
237 return; 237 return;
@@ -247,7 +247,7 @@ notify_receive (void *cls,
247 { 247 {
248 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 248 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
249 "Expected message %u with bits %u, but body did not match\n", 249 "Expected message %u with bits %u, but body did not match\n",
250 ntohl (hdr->num), 250 (uint32_t) ntohl (hdr->num),
251 (unsigned char) ntohl (hdr->num)); 251 (unsigned char) ntohl (hdr->num));
252 ccc->global_ret = GNUNET_SYSERR; 252 ccc->global_ret = GNUNET_SYSERR;
253 GNUNET_SCHEDULER_shutdown (); 253 GNUNET_SCHEDULER_shutdown ();
@@ -258,7 +258,7 @@ notify_receive (void *cls,
258 { 258 {
259 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 259 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
260 "Got message %u of size %u\n", 260 "Got message %u of size %u\n",
261 ntohl (hdr->num), 261 (uint32_t) ntohl (hdr->num),
262 ntohs (hdr->header.size)); 262 ntohs (hdr->header.size));
263 } 263 }
264#endif 264#endif
@@ -267,7 +267,7 @@ notify_receive (void *cls,
267 { 267 {
268 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 268 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
269 "Message id %u is bigger than maxmimum number of messages %u expected\n", 269 "Message id %u is bigger than maxmimum number of messages %u expected\n",
270 ntohl (hdr->num), 270 (uint32_t) ntohl (hdr->num),
271 TOTAL_MSGS / xhdr); 271 TOTAL_MSGS / xhdr);
272 } 272 }
273 if (0 == (n % (TOTAL_MSGS / xhdr / 100))) 273 if (0 == (n % (TOTAL_MSGS / xhdr / 100)))