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:
Edward Hervey 2025-01-03 11:59:05 +01:00 committed by GStreamer Marge Bot
parent 9656ae6c0b
commit 84f995dd90

View file

@ -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 */