diff options
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/shmem_sysv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/shmem_sysv.c b/source3/locking/shmem_sysv.c index b9d4594947..20aea9283d 100644 --- a/source3/locking/shmem_sysv.c +++ b/source3/locking/shmem_sysv.c @@ -666,7 +666,7 @@ struct shmem_ops *sysv_shm_open(int ronly) shm_header_p = (struct ShmHeader *)shmat(shm_id, 0, read_only?SHM_RDONLY:0); - if ((int)shm_header_p == -1) { + if ((long)shm_header_p == -1) { DEBUG(0,("Can't attach to IPC area\n")); global_unlock(); return NULL; |