diff options
author | Christian Ambach <ambi@samba.org> | 2012-03-13 13:08:50 +0100 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-03-14 16:06:48 +0100 |
commit | a5ddc2da1032561d57bc8adbb3bb60e133154b65 (patch) | |
tree | 5a3694d8df2d68a9f2c9bc103e0bb7aa4f73bf14 /source3/smbd | |
parent | a3e2151edd8fb6a7df41ea508e6d222938fcfe0b (diff) | |
download | samba-a5ddc2da1032561d57bc8adbb3bb60e133154b65.tar.gz samba-a5ddc2da1032561d57bc8adbb3bb60e133154b65.tar.bz2 samba-a5ddc2da1032561d57bc8adbb3bb60e133154b65.zip |
s3:smb2_server: fix a compiler warning
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Wed Mar 14 16:06:48 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smb2_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 617081895f..3cee931150 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -1308,8 +1308,8 @@ NTSTATUS smbd_smb2_request_verify_creditcharge(struct smbd_smb2_request *req, needed_charge = (data_length - 1)/ 65536 + 1; DEBUG(10, ("mid %llu, CreditCharge: %d, NeededCharge: %d\n", - BVAL(inhdr, SMB2_HDR_MESSAGE_ID), credit_charge, - needed_charge)); + (unsigned long long) BVAL(inhdr, SMB2_HDR_MESSAGE_ID), + credit_charge, needed_charge)); if (needed_charge > credit_charge) { DEBUG(2, ("CreditCharge too low, given %d, needed %d\n", |