1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

newlib doesn't support the z modifier

on msba2 this will print

    Initializing transport layer packages. Size of socket_type: zu
This commit is contained in:
Benjamin Valentin 2014-02-06 19:02:04 +01:00
parent 52c92aa3b2
commit 2e26bb7214

View File

@ -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));