From d2d9dfb663f76f9b929252a88ad196c9fcacd1e1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 2 Jun 2018 21:52:43 +0200 Subject: 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. --- sysdeps/gnu/bits/shm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/gnu') diff --git a/sysdeps/gnu/bits/shm.h b/sysdeps/gnu/bits/shm.h index eef6729..895c49b 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() */ -- cgit v1.1