- if ((shminfo.shmmax != (user_ssize_t)-1) &&
- (shminfo.shmmin != (user_ssize_t)-1) &&
- (shminfo.shmmni != (user_ssize_t)-1) &&
- (shminfo.shmseg != (user_ssize_t)-1) &&
- (shminfo.shmall != (user_ssize_t)-1)) {
+ if ((shminfo.shmmax != (int64_t)-1) &&
+ (shminfo.shmmin != (int64_t)-1) &&
+ (shminfo.shmmni != (int64_t)-1) &&
+ (shminfo.shmseg != (int64_t)-1) &&
+ (shminfo.shmall != (int64_t)-1)) {