gcc warning fix: -Wextra
[lttng-ust.git] / include / lttng / bitfield.h
index 391cf5098969c1a69e81bae44076a32997a4e64b..ef5453c29be2397b225126daa8b2515abdb33c61 100644 (file)
@@ -56,7 +56,7 @@
        ___v <<= final;                                                 \
 })
 
-#define _bt_is_signed_type(type)       (((type)(-1)) < 0)
+#define _bt_is_signed_type(type)       ((type) -1 < (type) 0)
 
 #define _bt_unsigned_cast(type, v)                                     \
 ({                                                                     \
This page took 0.022683 seconds and 4 git commands to generate.