From: Omar Tarabai Date: Fri, 23 May 2014 14:04:48 +0000 (+0000) Subject: warning fix X-Git-Tag: initial-import-from-subversion-38251~3926 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5fe013c4b7b150533839dbca964ffcd2b3fe80a5;p=oweals%2Fgnunet.git warning fix --- 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 ++;