aboutsummaryrefslogtreecommitdiffstats
path: root/mcgoron/guix/patches/mosh-0.2.9-rc1-fix-ffitest.patch
blob: a6bcab41f8b55c66fa2953aa9068253d605a4be8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/ffitest.c b/src/ffitest.c
index 84b4b854..53e3e19c 100644
--- a/src/ffitest.c
+++ b/src/ffitest.c
@@ -235,7 +235,7 @@ void qsort(void *base, size_t num, size_t size,
   for (i = 0; i < num; i++) {
     printf("[%d]=%d\n", i, ((uint8_t*)base)[i]);
   }
-  compare(1, 2);
+  compare((const void *)1, (const void *)2);
 }
 
 /* callouts return type functions */