diff options
author | Carlos O'Donell <carlos@systemhalted.org> | 2012-11-29 10:24:41 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@systemhalted.org> | 2012-11-29 17:59:59 -0500 |
commit | 80ceeaeef9ae1f4941546beb47f4b603a836208b (patch) | |
tree | b1b9394b50deeea75a514d95abda3a4386995c8c /ports/sysdeps/unix/sysv/linux/hppa/mmap.c | |
parent | e10c4e4fdb3b90f398c0f26dde0143c2558834b5 (diff) | |
download | glibc-80ceeaeef9ae1f4941546beb47f4b603a836208b.tar.gz glibc-80ceeaeef9ae1f4941546beb47f4b603a836208b.tar.xz glibc-80ceeaeef9ae1f4941546beb47f4b603a836208b.zip |
hppa: Cleanup two build warnings for integer to pointers casts.
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/hppa/mmap.c')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/hppa/mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/hppa/mmap.c b/ports/sysdeps/unix/sysv/linux/hppa/mmap.c index 420d6567a6..12e700dcbb 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/mmap.c +++ b/ports/sysdeps/unix/sysv/linux/hppa/mmap.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1994-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,7 +36,7 @@ __mmap (__ptr_t addr, size_t len, int prot, int flags, int fd, off_t offset) __ptr_t ret; - ret = INLINE_SYSCALL(mmap, 6, addr, len, prot, flags, fd, offset); + ret = (__ptr_t) INLINE_SYSCALL (mmap, 6, addr, len, prot, flags, fd, offset); /* check if it's really a negative number */ if(((unsigned long)ret & 0xfffff000) == 0xfffff000) |