X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fevents.h;h=e4d62adb8ad9fc3de9bc4395fd426648d6884a8f;hb=e97dc605fd2e9cc7245c563ac88fe7f6858aaa54;hp=5d439bcbbcc0a1dc8321819032edb860565c867c;hpb=05f403d70515741afdc6c82243f8fc8351f213ac;p=lttng-modules.git diff --git a/include/lttng/events.h b/include/lttng/events.h index 5d439bcb..e4d62adb 100644 --- a/include/lttng/events.h +++ b/include/lttng/events.h @@ -23,7 +23,7 @@ #include #include -#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;