gcc warning fix: -Wextra
[babeltrace.git] / include / babeltrace / bitfield.h
index 40c1161489d66d6d56cba1fe1ba1803973289b18..b7fce09301781a7f8697921bc384aada739f0760 100644 (file)
@@ -57,7 +57,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.030754 seconds and 4 git commands to generate.