diff options
author | Volker Lendecke <vl@samba.org> | 2012-05-30 09:08:49 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-31 10:06:56 +0200 |
commit | 835e25e3b41dbdac8f0e94e3b983fde771213389 (patch) | |
tree | 415af6ded6f459403d9d8328c802570c560e3de7 | |
parent | 15d567265e65e3d47579232a649d6d54f7b32d35 (diff) | |
download | samba-835e25e3b41dbdac8f0e94e3b983fde771213389.tar.gz samba-835e25e3b41dbdac8f0e94e3b983fde771213389.tar.bz2 samba-835e25e3b41dbdac8f0e94e3b983fde771213389.zip |
s3: Fix some 64-bit warnings
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu May 31 10:06:56 CEST 2012 on sn-devel-104
-rw-r--r-- | source3/smbd/smb2_getinfo.c | 4 | ||||
-rw-r--r-- | source3/smbd/smb2_setinfo.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/smb2_getinfo.c b/source3/smbd/smb2_getinfo.c index 0f5936524f..e7ccdfd00f 100644 --- a/source3/smbd/smb2_getinfo.c +++ b/source3/smbd/smb2_getinfo.c @@ -93,8 +93,8 @@ NTSTATUS smbd_smb2_request_process_getinfo(struct smbd_smb2_request *req) if (in_input_buffer.length > req->sconn->smb2.max_trans) { DEBUG(2,("smbd_smb2_request_process_getinfo: " "client ignored max trans: %s: 0x%08X: 0x%08X\n", - __location__, in_input_buffer.length, - req->sconn->smb2.max_trans)); + __location__, (unsigned)in_input_buffer.length, + (unsigned)req->sconn->smb2.max_trans)); return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER); } if (in_output_buffer_length > req->sconn->smb2.max_trans) { diff --git a/source3/smbd/smb2_setinfo.c b/source3/smbd/smb2_setinfo.c index d864bb2e47..e0b51dff3d 100644 --- a/source3/smbd/smb2_setinfo.c +++ b/source3/smbd/smb2_setinfo.c @@ -84,8 +84,8 @@ NTSTATUS smbd_smb2_request_process_setinfo(struct smbd_smb2_request *req) if (in_input_buffer.length > req->sconn->smb2.max_trans) { DEBUG(2,("smbd_smb2_request_process_setinfo: " "client ignored max trans: %s: 0x%08X: 0x%08X\n", - __location__, in_input_buffer.length, - req->sconn->smb2.max_trans)); + __location__, (unsigned)in_input_buffer.length, + (unsigned)req->sconn->smb2.max_trans)); return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER); } |