From 2e26bb72149638964954f12a06c0098c2a231225 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Thu, 6 Feb 2014 19:02:04 +0100 Subject: [PATCH] newlib doesn't support the z modifier on msba2 this will print Initializing transport layer packages. Size of socket_type: zu --- sys/net/transport_layer/destiny/destiny.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/transport_layer/destiny/destiny.c b/sys/net/transport_layer/destiny/destiny.c index 906219b66c..9ba05e617b 100644 --- a/sys/net/transport_layer/destiny/destiny.c +++ b/sys/net/transport_layer/destiny/destiny.c @@ -36,8 +36,8 @@ char tcp_timer_stack[TCP_TIMER_STACKSIZE]; int destiny_init_transport_layer(void) { - printf("Initializing transport layer packages. Size of socket_type: %zu\n", - sizeof(socket_internal_t)); + printf("Initializing transport layer packages. Size of socket_type: %u\n", + (unsigned int) sizeof(socket_internal_t)); /* SOCKETS */ memset(sockets, 0, MAX_SOCKETS * sizeof(socket_internal_t));