tests/thread-pool-slow: do not pass confusing value to sort function

That value isn't used by the callback.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-10-14 17:42:07 +04:00
parent 2df5acf60a
commit 99847d36ed

View File

@ -274,7 +274,7 @@ test_thread_sort (gboolean sort)
if (sort) { if (sort) {
g_thread_pool_set_sort_function (pool, g_thread_pool_set_sort_function (pool,
test_thread_sort_compare_func, test_thread_sort_compare_func,
GUINT_TO_POINTER (69)); NULL);
} }
for (i = 0; i < limit; i++) { for (i = 0; i < limit; i++) {