Merge pull request #2698 from esdrubal/iosxmlarray
[mono.git] / mono / unit-tests / test-sgen-qsort.c
index 2ee1afa95c9e755aba6715a69e9f08c942c9da78..951b1b7321bb04a0f35ef4d9408308265748ac41 100644 (file)
@@ -19,8 +19,8 @@
 
 #include "config.h"
 
-#include <metadata/sgen-gc.h>
-#include <metadata/sgen-qsort.h>
+#include <sgen/sgen-gc.h>
+#include <sgen/sgen-qsort.h>
 
 #include <stdlib.h>
 #include <string.h>
@@ -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));