Fix type range comparison always false for 64-bit arch
[lttng-ust.git] / liblttng-ust / ltt-events.c
index 4a0981b630f14bc1691a3f943f86d51f139d37c7..40cf3f916ee4c0056f2cde795bb857f4920a5230 100644 (file)
@@ -495,7 +495,7 @@ int ltt_event_create(struct ltt_channel *chan,
        struct ltt_event *event;
        int ret = 0;
 
-       if (chan->used_event_id == -1UL) {
+       if (chan->used_event_id == -1U) {
                ret = -ENOMEM;
                goto full;
        }
This page took 0.02474 seconds and 4 git commands to generate.