From 5fe013c4b7b150533839dbca964ffcd2b3fe80a5 Mon Sep 17 00:00:00 2001 From: Omar Tarabai Date: Fri, 23 May 2014 14:04:48 +0000 Subject: [PATCH] warning fix --- src/peerstore/test_peerstore_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peerstore/test_peerstore_api.c b/src/peerstore/test_peerstore_api.c index e3585d31a..ea5843b2d 100644 --- a/src/peerstore/test_peerstore_api.c +++ b/src/peerstore/test_peerstore_api.c @@ -54,7 +54,7 @@ int iterate_cb (void *cls, printf("Sub system: %s\n", record->sub_system); printf("Peer: %s\n", GNUNET_i2s (record->peer)); printf("Key: %s\n", record->key); - printf("Value: %.*s\n", record->value_size, record->value); + printf("Value: %.*s\n", (int)record->value_size, (char *)record->value); printf("Expiry: %" PRIu64 "\n", record->expiry->abs_value_us); counter ++; -- 2.25.1