From: Arnaud Giersch Date: Thu, 3 Aug 2017 20:54:27 +0000 (+0200) Subject: Please codacy (integer type consistency). X-Git-Tag: v3_17~253 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b9d7562722516f7df88b644526456f10247de0e3 Please codacy (integer type consistency). --- diff --git a/examples/msg/app-bittorrent/peer.c b/examples/msg/app-bittorrent/peer.c index ea5c370589..7c248b39ee 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 10U -#define PIECES_BLOCKS 5U +#define FILE_PIECES 10UL +#define PIECES_BLOCKS 5UL #define BLOCK_SIZE 16384 static const unsigned long int FILE_SIZE = FILE_PIECES * PIECES_BLOCKS * BLOCK_SIZE;