]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Avoid casts in reply_unlock()
authorVolker Lendecke <vl@samba.org>
Fri, 14 Jun 2019 12:00:35 +0000 (05:00 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 20 Jun 2019 17:18:17 +0000 (17:18 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/reply.c

index 4780bfb04f134df29c6ea97b7743286790511e0d..0242e66d92e91ea5438cd19f875f53139b1756a5 100644 (file)
@@ -5721,8 +5721,11 @@ void reply_unlock(struct smb_request *req)
                return;
        }
 
-       DEBUG( 3, ( "unlock fd=%d %s offset=%.0f count=%.0f\n",
-                   fsp->fh->fd, fsp_fnum_dbg(fsp), (double)offset, (double)count ) );
+       DBG_NOTICE("unlock fd=%d %s offset=%"PRIu64" count=%"PRIu64"\n",
+                  fsp->fh->fd,
+                  fsp_fnum_dbg(fsp),
+                  offset,
+                  count);
 
        reply_outbuf(req, 0, 0);