r8520: fixed a pile of warnings from the build farm gcc -Wall output on
[jelmer/samba4-debian.git] / source / libcli / wins / winsrepl.c
index 732b597c530ef96fec4fddb2db10e7e2c04148de..6b02cfb660e6bf67243b95f1731d3a9c5e863121 100644 (file)
@@ -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);
        }