Commit c96b057757446fe4277f30e8423f09851ae5d0fa

Anthony Green 2021-07-16T11:16:39

Fix test check

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/testsuite/libffi.call/return_sl.c b/testsuite/libffi.call/return_sl.c
index 337236f..51bfb49 100644
--- a/testsuite/libffi.call/return_sl.c
+++ b/testsuite/libffi.call/return_sl.c
@@ -35,7 +35,7 @@ int main (void)
   ffi_call(&cif, FFI_FN(return_sl), &res, values);
   printf("res: %ld, %ld\n", (long)res, l1 - l2);
   /* { dg-output "res: -1, -1" } */
-  CHECK(res == -1);
+  CHECK((long)res == -1);
   CHECK(l1 + 1 == l2);
 
   exit(0);