projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: free_event_id check should compare unsigned int with -1U
[lttng-modules.git]
/
lttng-events.c
diff --git
a/lttng-events.c
b/lttng-events.c
index 2fedbea59202df8da309a6b24fb348b37db1092c..8af92d077cbc7f25d89feecd90ee191b83da1284 100644
(file)
--- 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 == -1U
L
)
+ if (chan->free_event_id == -1U)
goto full;
/*
* This is O(n^2) (for each event, the loop is called at event
This page took
0.024445 seconds
and
4
git commands to generate.