aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-16 10:22:18 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-16 10:22:18 -0700
commit180be88bf57c967a66e7152e58147a01d78a63cc (patch)
treea8bb7db7e6eb29da0043ad6c373176a6b72a3292 /sysvipc
parentCheck __x86_64__ in x86-64 sys/reg.h (diff)
downloadglibc-180be88bf57c967a66e7152e58147a01d78a63cc.tar.gz
glibc-180be88bf57c967a66e7152e58147a01d78a63cc.tar.bz2
glibc-180be88bf57c967a66e7152e58147a01d78a63cc.zip
Replace long int with __syscall_slong_t in sys/msg.h
Diffstat (limited to 'sysvipc')
-rw-r--r--sysvipc/sys/msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h
index 4c8d62cbf7..0dd98991a0 100644
--- a/sysvipc/sys/msg.h
+++ b/sysvipc/sys/msg.h
@@ -51,7 +51,7 @@ typedef __ssize_t ssize_t;
/* Template for struct to be used as argument for `msgsnd' and `msgrcv'. */
struct msgbuf
{
- long int mtype; /* type of received/sent message */
+ __syscall_slong_t mtype; /* type of received/sent message */
char mtext[1]; /* text of the message */
};
#endif