Fix warnings when uintptr_t is larger than int.
authorDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2012 04:02:54 +0000 (21:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2012 04:02:54 +0000 (21:02 -0700)
commit77e927affd576fcbb751144f60b098b7f0427045
tree46701a3b497e9ab1a5b6e909915e33a256008cfc
parent7e7fa5f8719c0a497f4b262e6fb5625c13b6c22e
Fix warnings when uintptr_t is larger than int.

* sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
warnings.
ChangeLog
sysdeps/unix/sysv/linux/shmat.c