summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-08-03 08:46:11 +0200
committerJeremy Allison <jra@samba.org>2021-08-06 17:22:30 +0000
commitcac5e8287a76b99b069de800d2141d5da969b241 (patch)
treed6362acf9f542bfe111e84965280aaa509307973 /source3/rpc_client
parentcf8601e785d8b2e8a68ddc562b3cd6fe466cdfad (diff)
downloadsamba-cac5e8287a76b99b069de800d2141d5da969b241.tar.gz
rpc_client: Avoid two casts with proper printf specifiers
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 0e2a667c2fd..66c24e0dbd8 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -97,7 +97,7 @@ static struct tevent_req *rpc_read_send(TALLOC_CTX *mem_ctx,
state->size = size;
state->num_read = 0;
- DEBUG(5, ("rpc_read_send: data_to_read: %u\n", (unsigned int)size));
+ DBG_INFO("data_to_read: %zu\n", size);
subreq = transport->read_send(state, ev, (uint8_t *)data, size,
transport->priv);
@@ -177,7 +177,7 @@ static struct tevent_req *rpc_write_send(TALLOC_CTX *mem_ctx,
state->size = size;
state->num_written = 0;
- DEBUG(5, ("rpc_write_send: data_to_write: %u\n", (unsigned int)size));
+ DBG_INFO("data_to_write: %zu\n", size);
subreq = transport->write_send(state, ev, data, size, transport->priv);
if (subreq == NULL) {