aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rin/definitions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rin/definitions.h b/include/rin/definitions.h
index 75e4da0..201c0b3 100644
--- a/include/rin/definitions.h
+++ b/include/rin/definitions.h
@@ -32,7 +32,7 @@
/* optimizing likely / unlikely branches */
# define likely(a) (__builtin_expect(!!(a), 1))
-# define unlikely(a) (__builtin_expect((a), 0))
+# define unlikely(a) (__builtin_expect(!!(a), 0))
/* MSVC */
#elif defined(_MSC_VER)