diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2015-01-01 16:05:41 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2015-01-01 16:05:41 +0300 |
commit | 789cad1ff55ad10295fcda7bbf24944dd67f3bb3 (patch) | |
tree | 39aed3a9ebb9d25967bf1db5f17642deb7703d25 /sysdeps | |
parent | 695890ed1291a3901c9db3155b855b5676d6afc7 (diff) | |
download | glibc-master.tar.gz |
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/solaris2/kopensolaris-gnu/mlockall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/mlockall.c b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/mlockall.c index 52018d30b2..5ecf1e6299 100644 --- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/mlockall.c +++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/mlockall.c @@ -23,5 +23,5 @@ int mlockall (int flags) { - return memcntl (0, 0, MC_LOCKAS, (caddr_t)flags, 0, 0); + return memcntl (0, 0, MC_LOCKAS, (caddr_t)(intptr_t)flags, 0, 0); } |