compiler warning cleanup: is_signed_type: compare -1 to 1
[lttng-modules.git] / lttng-events.h
index 13b6abf5cf0d4e7c1fc64c0fa4c3d364f50344e4..5298193775451fab72837f3ff5966d7d8fe5a348 100644 (file)
@@ -22,7 +22,7 @@
 #include <lttng-abi.h>
 #include <lttng-abi-old.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.02499 seconds and 4 git commands to generate.