From 4a93fc686fafe4ffbe72271f4093bde6aa607b2a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 27 May 2019 16:15:17 +0200 Subject: [PATCH] smbd: Avoid casts in smbd_smb2_lock_send() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/smbd/smb2_lock.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c index 5aa0d657cfb..ae845d44387 100644 --- a/source3/smbd/smb2_lock.c +++ b/source3/smbd/smb2_lock.c @@ -335,13 +335,13 @@ static struct tevent_req *smbd_smb2_lock_send(TALLOC_CTX *mem_ctx, locks[i].brltype = UNLOCK_LOCK; } - DEBUG(10,("smbd_smb2_lock_send: index %d offset=%llu, count=%llu, " - "smblctx = %llu type %d\n", - i, - (unsigned long long)locks[i].offset, - (unsigned long long)locks[i].count, - (unsigned long long)locks[i].smblctx, - (int)locks[i].brltype )); + DBG_DEBUG("index %"PRIu16" offset=%"PRIu64", count=%"PRIu64", " + "smblctx = %"PRIu64" type %d\n", + i, + locks[i].offset, + locks[i].count, + locks[i].smblctx, + (int)locks[i].brltype); } state->locks = locks; -- 2.47.3