summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-28 10:00:37 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-28 10:08:03 +0200
commit66fa891d2d041652ecde02b53186802137ce3b02 (patch)
tree53d91d91465a44994f61de806ac4cbed68f8cc16
parentbbad8f6d72f2be5bf3556c57e06d1ae604f1be36 (diff)
downloadsamba-66fa891d2d041652ecde02b53186802137ce3b02.tar.gz
s3:smbd/files: fsp->fnum is uint64_t not int!
metze
-rw-r--r--source3/smbd/files.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index d11d6d764bd..b5be0834b30 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -528,7 +528,7 @@ void fsp_free(files_struct *fsp)
void file_free(struct smb_request *req, files_struct *fsp)
{
struct smbd_server_connection *sconn = fsp->conn->sconn;
- int fnum = fsp->fnum;
+ uint64_t fnum = fsp->fnum;
if (fsp->notify) {
struct notify_context *notify_ctx =
@@ -566,8 +566,8 @@ void file_free(struct smb_request *req, files_struct *fsp)
fsp_free(fsp);
- DEBUG(5,("freed files structure %d (%u used)\n",
- fnum, (unsigned int)sconn->num_files));
+ DEBUG(5,("freed files structure %llu (%u used)\n",
+ (unsigned long long)fnum, (unsigned int)sconn->num_files));
}
/****************************************************************************