summaryrefslogtreecommitdiff
path: root/source4/libcli/wins/winsrepl.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/wins/winsrepl.c')
-rw-r--r--source4/libcli/wins/winsrepl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/wins/winsrepl.c b/source4/libcli/wins/winsrepl.c
index 732b597c53..6b02cfb660 100644
--- a/source4/libcli/wins/winsrepl.c
+++ b/source4/libcli/wins/winsrepl.c
@@ -162,13 +162,13 @@ static void wrepl_handler_recv(struct wrepl_socket *wrepl_socket)
if (!NT_STATUS_IS_OK(req->status)) {
DEBUG(2,("Failed to parse incoming WINS packet - %s\n",
nt_errstr(req->status)));
- DEBUG(10,("packet length %d\n", req->buffer.length));
+ DEBUG(10,("packet length %d\n", (int)req->buffer.length));
NDR_PRINT_DEBUG(wrepl_packet, req->packet);
goto failed;
}
if (DEBUGLVL(10)) {
- DEBUG(10,("Received WINS packet of length %d\n", req->buffer.length));
+ DEBUG(10,("Received WINS packet of length %d\n", (int)req->buffer.length));
NDR_PRINT_DEBUG(wrepl_packet, req->packet);
}
@@ -390,7 +390,7 @@ struct wrepl_request *wrepl_request_send(struct wrepl_socket *wrepl_socket,
if (!NT_STATUS_IS_OK(req->status)) goto failed;
if (DEBUGLVL(10)) {
- DEBUG(10,("Sending WINS packet of length %d\n", req->buffer.length));
+ DEBUG(10,("Sending WINS packet of length %d\n", (int)req->buffer.length));
NDR_PRINT_DEBUG(wrepl_packet, &wrap.packet);
}