diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c index 015ba8e5..8c62068e 100644 --- a/testing/Messenger_test.c +++ b/testing/Messenger_test.c @@ -59,7 +59,7 @@ static void print_message(Messenger *m, uint32_t friendnumber, unsigned int type, const uint8_t *string, size_t length, void *userdata) { - printf("Message with length %lu received from %u: %s \n", length, friendnumber, string); + printf("Message with length %zu received from %u: %s \n", length, friendnumber, string); m_send_message_generic(m, friendnumber, type, (const uint8_t *)"Test1", 6, 0); } @@ -81,7 +81,7 @@ static void print_request(Messenger *m, const uint8_t *public_key, const uint8_t printf("%hhX", public_key[j]); } - printf("\nOf length: %lu with data: %s \n", length, data); + printf("\nOf length: %zu with data: %s \n", length, data); if (length != sizeof("Install Gentoo")) { return;