gcc warning fix: -Wextra
[lttng-ust.git] / include / lttng / ust-tracer.h
index b4268ac51dc1598864d3246b7c2329b1841c861b..ec30db7446a52608b6d5b0a9267f3184f33b516f 100644 (file)
@@ -45,6 +45,6 @@
 #define lttng_alignof(type)    1
 #endif
 
-#define lttng_is_signed_type(type)           (((type)(-1)) < 0)
+#define lttng_is_signed_type(type)           ((type) -1 < (type) 0)
 
 #endif /* _LTTNG_UST_TRACER_H */
This page took 0.025065 seconds and 4 git commands to generate.