X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-events.c;h=bbff1c9df2b352167c80317853669590fb893dda;hb=37303c7509bf98243512fbcd54f481e62f215c4b;hp=9d933935dbf87a6fa6707ee88b9d415df79dfbdd;hpb=a9afe705296f44144aaf3d2626a14bb8cfd2016a;p=lttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index 9d933935..bbff1c9d 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -292,7 +292,7 @@ struct lttng_event *lttng_event_create(struct lttng_channel *chan, int ret; mutex_lock(&sessions_mutex); - if (chan->free_event_id == -1UL) + if (chan->free_event_id == -1U) goto full; /* * This is O(n^2) (for each event, the loop is called at event