From: Volker Lendecke Date: Fri, 6 Aug 2021 12:18:26 +0000 (+0200) Subject: rpc_client: Avoid casts X-Git-Tag: ldb-2.5.0~859 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc4371f7d6224b045bfcbc4cc78147ed2469868f;p=thirdparty%2Fsamba.git rpc_client: Avoid casts Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 4869487511c..d1a535beca0 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -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)) { /*