summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/files.c4
-rw-r--r--source3/smbd/proto.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index d6713f7d6a..33adaea757 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -173,7 +173,7 @@ void file_close_conn(connection_struct *conn)
****************************************************************************/
void file_close_pid(struct smbd_server_connection *sconn, uint16 smbpid,
- int vuid)
+ uint64_t vuid)
{
files_struct *fsp, *next;
@@ -249,7 +249,7 @@ bool file_init(struct smbd_server_connection *sconn)
Close files open by a specified vuid.
****************************************************************************/
-void file_close_user(struct smbd_server_connection *sconn, int vuid)
+void file_close_user(struct smbd_server_connection *sconn, uint64_t vuid)
{
files_struct *fsp, *next;
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index e7c8172918..5327b06b28 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -368,10 +368,10 @@ NTSTATUS file_new(struct smb_request *req, connection_struct *conn,
files_struct **result);
void file_close_conn(connection_struct *conn);
void file_close_pid(struct smbd_server_connection *sconn, uint16 smbpid,
- int vuid);
+ uint64_t vuid);
bool file_init_global(void);
bool file_init(struct smbd_server_connection *sconn);
-void file_close_user(struct smbd_server_connection *sconn, int vuid);
+void file_close_user(struct smbd_server_connection *sconn, uint64_t vuid);
struct files_struct *files_forall(
struct smbd_server_connection *sconn,
struct files_struct *(*fn)(struct files_struct *fsp,