aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/bits/shm.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-02 21:52:43 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-02 21:52:43 +0200
commitd2d9dfb663f76f9b929252a88ad196c9fcacd1e1 (patch)
treef81538a51c410f664fefecd4886baf364294fd25 /sysdeps/gnu/bits/shm.h
parenta650b05ebee8fb8d0df03396002e680b3a79918d (diff)
downloadglibc-d2d9dfb663f76f9b929252a88ad196c9fcacd1e1.tar
glibc-d2d9dfb663f76f9b929252a88ad196c9fcacd1e1.tar.gz
glibc-d2d9dfb663f76f9b929252a88ad196c9fcacd1e1.tar.bz2
glibc-d2d9dfb663f76f9b929252a88ad196c9fcacd1e1.zip
hurd: Fix shmid_ds's shm_segsz field type
* bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of int. * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
Diffstat (limited to 'sysdeps/gnu/bits/shm.h')
-rw-r--r--sysdeps/gnu/bits/shm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/gnu/bits/shm.h b/sysdeps/gnu/bits/shm.h
index eef6729188..895c49b269 100644
--- a/sysdeps/gnu/bits/shm.h
+++ b/sysdeps/gnu/bits/shm.h
@@ -49,7 +49,7 @@ typedef unsigned short int shmatt_t;
struct shmid_ds
{
struct ipc_perm shm_perm; /* operation permission struct */
- int shm_segsz; /* size of segment in bytes */
+ size_t shm_segsz; /* size of segment in bytes */
__time_t shm_atime; /* time of last shmat() */
__time_t shm_dtime; /* time of last shmdt() */
__time_t shm_ctime; /* time of last change by shmctl() */