summaryrefslogtreecommitdiff
path: root/source3/locking/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-25 18:39:27 -0700
committerJeremy Allison <jra@samba.org>2013-10-08 14:42:02 -0700
commitf9554a993ecb345b8773a911a6e98a7f2329422b (patch)
tree7f98c2c8aa72923319c7b5d35fa7690be83e22d7 /source3/locking/proto.h
parent2ad37cbd0ef7ae89d4ecc049b74fef2c4c7da02c (diff)
downloadsamba-f9554a993ecb345b8773a911a6e98a7f2329422b.tar.gz
samba-f9554a993ecb345b8773a911a6e98a7f2329422b.tar.bz2
samba-f9554a993ecb345b8773a911a6e98a7f2329422b.zip
smbd: Change parameter from unsigned to uint32_t
share_mode_stale_pid internally only has to deal with uint32_t. Make the parameter match this. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r--source3/locking/proto.h2
1 files changed, 1 insertions, 1 deletions
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);