]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
rpc_client: Avoid casts
authorVolker Lendecke <vl@samba.org>
Fri, 6 Aug 2021 12:18:26 +0000 (14:18 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 24 Aug 2021 17:32:29 +0000 (17:32 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_client/cli_pipe.c

index 4869487511cb026caa001defebcf288bd4bc37a3..d1a535beca0f7088a574511908b765d08d0fbbfe 100644 (file)
@@ -958,10 +958,10 @@ static void rpc_api_pipe_got_pdu(struct tevent_req *subreq)
                                                &rdata,
                                                &state->reply_pdu);
 
-       DEBUG(10,("rpc_api_pipe: got frag len of %u at offset %u: %s\n",
-                 (unsigned)state->incoming_frag.length,
-                 (unsigned)state->reply_pdu_offset,
-                 nt_errstr(status)));
+       DBG_DEBUG("got frag len of %zu at offset %zu: %s\n",
+                 state->incoming_frag.length,
+                 state->reply_pdu_offset,
+                 nt_errstr(status));
 
        if (state->pkt->ptype != DCERPC_PKT_FAULT && !NT_STATUS_IS_OK(status)) {
                /*