mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
test: Fix unsigned integer usage
num_queued is unsigned, it'll never be below 0. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8286>
This commit is contained in:
parent
9656ae6c0b
commit
84f995dd90
1 changed files with 1 additions and 1 deletions
|
@ -819,8 +819,8 @@ GST_START_TEST (test_rtspconnection_backlog)
|
||||||
num_sent--;
|
num_sent--;
|
||||||
|
|
||||||
g_main_context_iteration (NULL, FALSE);
|
g_main_context_iteration (NULL, FALSE);
|
||||||
|
fail_unless (num_queued >= message_sent_count);
|
||||||
num_queued -= message_sent_count;
|
num_queued -= message_sent_count;
|
||||||
fail_unless (num_queued >= 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* make sure we can read the rest of the data */
|
/* make sure we can read the rest of the data */
|
||||||
|
|
Loading…
Reference in a new issue