From 180be88bf57c967a66e7152e58147a01d78a63cc Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 16 May 2012 10:22:18 -0700 Subject: [PATCH] Replace long int with __syscall_slong_t in sys/msg.h --- ChangeLog | 5 +++++ sysvipc/sys/msg.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 52507ca721..afe5501aa0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-05-16 H.J. Lu + + * sysvipc/sys/msg.h (msgbuf): Replace long int with + __syscall_slong_t. + 2012-05-16 H.J. Lu * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't 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