compiler warning cleanup: is_signed_type: compare -1 to 1
[lttng-ust.git] / include / lttng / ust-tracer.h
index 0fd5a707d22d7a3b9efe0d5401a04aa69e89a20a..410be46b0ca9831b760c15254909e02bd4eed68d 100644 (file)
@@ -35,7 +35,7 @@
 #define lttng_alignof(type)    1
 #endif
 
-#define lttng_is_signed_type(type)           ((type) -1 < (type) 0)
+#define lttng_is_signed_type(type)           ((type) -1 < (type) 1)
 
 /*
  * This macro adds a compilation assertion that CTF arrays and sequences
This page took 0.023412 seconds and 4 git commands to generate.