mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +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--;
|
||||
|
||||
g_main_context_iteration (NULL, FALSE);
|
||||
fail_unless (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 */
|
||||
|
|
Loading…
Reference in a new issue