Fix: increment buffer offset when failing to copy from user-space
[lttng-modules.git] / lttng-events.h
index bd99cfa09c68a3a3fe8a641c0eaecdab9ecf272d..f6026292656b05f55a812e92388b1ad042db5ba3 100644 (file)
@@ -21,7 +21,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.022735 seconds and 4 git commands to generate.