about summary refs log tree commit diff
path: root/src/libnm-std-aux
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-11-18 17:49:21 +0100
committerMichael Biebl <biebl@debian.org>2022-11-18 17:49:21 +0100
commit35b6136bc39c77da74de1325e13871bc985c5352 (patch)
treef5d91944aa7b1df3b4cf397e617e9af9cfea89cf /src/libnm-std-aux
parentc9f38062acbf43edb3b33c336ba19a449664c3de (diff)
parent913bcb40f6c699f8a38351c69e7ea263fe78f71f (diff)
Update upstream source from tag 'upstream/1.40.4'
Update to upstream version '1.40.4'
with Debian dir 7084cdfc71b038bf79ea5f3c53dfea86e49c80cb
Diffstat (limited to 'src/libnm-std-aux')
-rw-r--r--src/libnm-std-aux/nm-std-aux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnm-std-aux/nm-std-aux.h b/src/libnm-std-aux/nm-std-aux.h
index 77243ab1..d49f7c43 100644
--- a/src/libnm-std-aux/nm-std-aux.h
+++ b/src/libnm-std-aux/nm-std-aux.h
@@ -170,8 +170,8 @@ typedef uint64_t _nm_bitwise nm_be64_t;
 #define NM_LIKELY(expr)   (__builtin_expect(NM_BOOLEAN_EXPR(expr), 1))
 #define NM_UNLIKELY(expr) (__builtin_expect(NM_BOOLEAN_EXPR(expr), 0))
 #else
-#define NM_LIKELY(expr)   NM_BOOLEAN_EXPR(expr)
-#define NM_UNLIKELY(expr) NM_BOOLEAN_EXPR(expr)
+#define NM_LIKELY(expr)   (NM_BOOLEAN_EXPR(expr))
+#define NM_UNLIKELY(expr) (NM_BOOLEAN_EXPR(expr))
 #endif
 
 /*****************************************************************************/