summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/proto.h2
-rw-r--r--source3/smbd/service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index e52e78df9c..664ac46bc9 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -991,7 +991,7 @@ connection_struct *make_connection(struct smbd_server_connection *sconn,
const char *service_in,
const char *pdev, uint64_t vuid,
NTSTATUS *status);
-void close_cnum(connection_struct *conn, uint16 vuid);
+void close_cnum(connection_struct *conn, uint64_t vuid);
/* The following definitions come from smbd/session.c */
struct sessionid;
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 911b826664..1bcbbcda6a 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -1090,7 +1090,7 @@ connection_struct *make_connection(struct smbd_server_connection *sconn,
Close a cnum.
****************************************************************************/
-void close_cnum(connection_struct *conn, uint16 vuid)
+void close_cnum(connection_struct *conn, uint64_t vuid)
{
file_close_conn(conn);