From: Arnaud Giersch Date: Thu, 3 Aug 2017 19:28:57 +0000 (+0200) Subject: Please codacy (operator precedence). X-Git-Tag: v3_17~259 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4215a07d4521d735aa021cffd77707c3de75323e Please codacy (operator precedence). --- diff --git a/examples/msg/app-bittorrent/messages.c b/examples/msg/app-bittorrent/messages.c index d4c7c2b971..c3536926c8 100644 --- a/examples/msg/app-bittorrent/messages.c +++ b/examples/msg/app-bittorrent/messages.c @@ -9,7 +9,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_messages, "Messages specific for the message factory"); -#define BITS_TO_BYTES(x) ((x / 8) + (x % 8) ? 1 : 0) +#define BITS_TO_BYTES(x) (((x) / 8 + (x) % 8) ? 1 : 0) /** @brief Build a new empty message * @param type type of the message