diff options
Diffstat (limited to 'libffi/testsuite')
-rw-r--r-- | libffi/testsuite/libffi.call/ffitest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/testsuite/libffi.call/ffitest.h b/libffi/testsuite/libffi.call/ffitest.h index 8012e51288f..b41e14b8f84 100644 --- a/libffi/testsuite/libffi.call/ffitest.h +++ b/libffi/testsuite/libffi.call/ffitest.h @@ -67,7 +67,7 @@ allocate_mmap (size_t size) MAP_PRIVATE, dev_zero_fd, 0); #endif - if (page == MAP_FAILED) + if (page == (void *) MAP_FAILED) { perror ("virtual memory exhausted"); exit (1); |