diff options
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/locking.c | 2 | ||||
-rw-r--r-- | source3/locking/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index d0b6eaf995..d701964229 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -636,7 +636,7 @@ bool is_valid_share_mode_entry(const struct share_mode_entry *e) * being used, we need to make sure the corresponding process still * exists. */ -bool share_mode_stale_pid(struct share_mode_data *d, unsigned idx) +bool share_mode_stale_pid(struct share_mode_data *d, uint32_t idx) { struct share_mode_entry *e; diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 1573f6b306..dde0be431d 100644 --- a/source3/locking/proto.h +++ b/source3/locking/proto.h @@ -170,7 +170,7 @@ void get_file_infos(struct file_id id, bool *delete_on_close, struct timespec *write_time); bool is_valid_share_mode_entry(const struct share_mode_entry *e); -bool share_mode_stale_pid(struct share_mode_data *d, unsigned idx); +bool share_mode_stale_pid(struct share_mode_data *d, uint32_t idx); void set_share_mode(struct share_mode_lock *lck, files_struct *fsp, uid_t uid, uint64_t mid, uint16 op_type); bool del_share_mode(struct share_mode_lock *lck, files_struct *fsp); |