diff --git a/examples/pres_1/bob.c b/examples/pres_1/bob.c index e1b2cb279fadb91b6cdeaef69acd5bbc1686b10e..c421e0cc1d9f1929c9e5d5cc632790c23a2586ab 100644 --- a/examples/pres_1/bob.c +++ b/examples/pres_1/bob.c @@ -31,11 +31,11 @@ int main(int argc, char** argv) { // Read our received message size_t msg_len; const char * msg_ptr = connector_gotten_bytes(c, p0, &msg_len); - printf("Got msg `%.*s`\n", msg_len, msg_ptr); + printf("Got msg `%.*s`\n", (int) msg_len, msg_ptr); printf("Exiting\n"); protocol_description_destroy(pd); connector_destroy(c); sleep(1.0); return 0; -} \ No newline at end of file +}