summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4f41890)
ltt-events.c: In function 'ltt_event_create':
ltt-events.c:498: warning: comparison is always false due to limited
range of data type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
struct ltt_event *event;
int ret = 0;
struct ltt_event *event;
int ret = 0;
- if (chan->used_event_id == -1UL) {
+ if (chan->used_event_id == -1U) {
ret = -ENOMEM;
goto full;
}
ret = -ENOMEM;
goto full;
}