Merge pull request #2698 from esdrubal/iosxmlarray
[mono.git] / mono / unit-tests / test-sgen-qsort.c
index 40ca64cb01f1d64db54abc270b47d5c2f652aa07..951b1b7321bb04a0f35ef4d9408308265748ac41 100644 (file)
@@ -100,7 +100,7 @@ compare_sorts2 (void *base, size_t nel)
        memcpy (b2, base, len);
 
        qsort (b1, nel, sizeof (teststruct_t*), compare_teststructs2);
-       qsort_test_struct (b2, nel);
+       qsort_test_struct ((teststruct_t **)b2, nel);
 
        assert (!memcmp (b1, b2, len));