compiler warning cleanup: is_signed_type: compare -1 to 1
[lttng-modules.git] / include / lttng / events.h
index 5d439bcbbcc0a1dc8321819032edb860565c867c..e4d62adb8ad9fc3de9bc4395fd426648d6884a8f 100644 (file)
@@ -23,7 +23,7 @@
 #include <lttng/abi-old.h>
 #include <lttng/endian.h>
 
-#define lttng_is_signed_type(type)     (((type)(-1)) < 0)
+#define lttng_is_signed_type(type)     (((type) -1) < (type) 1)
 
 struct lttng_channel;
 struct lttng_session;
This page took 0.023305 seconds and 4 git commands to generate.