aboutsummaryrefslogtreecommitdiff
path: root/libffi/testsuite
diff options
context:
space:
mode:
authorro <>2004-01-08 12:15:17 +0000
committerro <>2004-01-08 12:15:17 +0000
commitde49001da16da0e95958965e9d24c46ecdb2c6ef (patch)
tree6eaeb461cea16b05b65bc7af62e1d9fe90a4261f /libffi/testsuite
parent54925957c2a3330d45e301192febaeceab3707f7 (diff)
* testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
to void *.
Diffstat (limited to 'libffi/testsuite')
-rw-r--r--libffi/testsuite/libffi.call/ffitest.h2
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);