From ad465a6f2ab399c98418b92d4976a35a9288767b Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Thu, 16 Feb 2017 11:49:36 +0100 Subject: [PATCH] sign the parameters --- examples/msg/app-bittorrent/peer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/msg/app-bittorrent/peer.c b/examples/msg/app-bittorrent/peer.c index 5555e8633a..b7d360fcd2 100644 --- a/examples/msg/app-bittorrent/peer.c +++ b/examples/msg/app-bittorrent/peer.c @@ -17,8 +17,8 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_peers, "Messages specific for the peers"); * User parameters for transferred file data. For the test, the default values are : * File size: 10 pieces * 5 blocks/piece * 16384 bytes/block = 819200 bytes */ -#define FILE_PIECES 10 -#define PIECES_BLOCKS 5 +#define FILE_PIECES 10U +#define PIECES_BLOCKS 5U #define BLOCK_SIZE 16384 static const unsigned long int FILE_SIZE = FILE_PIECES * PIECES_BLOCKS * BLOCK_SIZE; -- 2.20.1