mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Properly compare integers in compare_id().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8844118d1b
commit
fd28eb8199
@ -22535,7 +22535,7 @@ static unsigned int read_uav_counter(const struct test_context *context,
|
||||
|
||||
static int compare_id(const void *a, const void *b)
|
||||
{
|
||||
return *(int *)a - *(int *)b;
|
||||
return vkd3d_u32_compare(*(uint32_t *)a, *(uint32_t *)b);
|
||||
}
|
||||
|
||||
static void test_uav_counters(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user