diff options
author | 2020-12-23 17:31:34 -0800 | |
---|---|---|
committer | 2022-04-22 13:22:38 +0200 | |
commit | 95316d81633120244d53b85303447beb1a917f74 (patch) | |
tree | d836d7b096a86bc64b1e64c09f6c4433b0df67cb /src/mobilebackup2.c | |
parent | 78040882a30666f29985bc6589be03cbc7d7cfbe (diff) | |
download | libimobiledevice-95316d81633120244d53b85303447beb1a917f74.tar.gz libimobiledevice-95316d81633120244d53b85303447beb1a917f74.tar.bz2 |
[clang-tidy] add parentheses to macros
Found with bugprone-macro-parentheses
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/mobilebackup2.c')
-rw-r--r-- | src/mobilebackup2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mobilebackup2.c b/src/mobilebackup2.c index 6c6556d..f4fde95 100644 --- a/src/mobilebackup2.c +++ b/src/mobilebackup2.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #define MBACKUP2_VERSION_INT1 400 | 33 | #define MBACKUP2_VERSION_INT1 400 |
34 | #define MBACKUP2_VERSION_INT2 0 | 34 | #define MBACKUP2_VERSION_INT2 0 |
35 | 35 | ||
36 | #define IS_FLAG_SET(x, y) ((x & y) == y) | 36 | #define IS_FLAG_SET(x, y) (((x) & (y)) == (y)) |
37 | 37 | ||
38 | /** | 38 | /** |
39 | * Convert an device_link_service_error_t value to an mobilebackup2_error_t value. | 39 | * Convert an device_link_service_error_t value to an mobilebackup2_error_t value. |