From 30ee8beb9316a99e8a49993306252591106cb349 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 9 Sep 2006 10:05:58 +0000 Subject: r18301: I discovered how to load the warnings from a build farm build into emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667) --- source4/libcli/wrepl/winsrepl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source4/libcli/wrepl/winsrepl.c') diff --git a/source4/libcli/wrepl/winsrepl.c b/source4/libcli/wrepl/winsrepl.c index 83cbe2877d..78ee2d165e 100644 --- a/source4/libcli/wrepl/winsrepl.c +++ b/source4/libcli/wrepl/winsrepl.c @@ -88,7 +88,8 @@ static NTSTATUS wrepl_finish_recv(void *private, DATA_BLOB packet_blob_in) DATA_BLOB blob; if (!req) { - DEBUG(1,("Received unexpected WINS packet of length %u!\n", packet_blob_in.length)); + DEBUG(1,("Received unexpected WINS packet of length %u!\n", + (unsigned)packet_blob_in.length)); return NT_STATUS_INVALID_NETWORK_RESPONSE; } @@ -108,7 +109,8 @@ static NTSTATUS wrepl_finish_recv(void *private, DATA_BLOB packet_blob_in) } if (DEBUGLVL(10)) { - DEBUG(10,("Received WINS packet of length %u\n", packet_blob_in.length)); + DEBUG(10,("Received WINS packet of length %u\n", + (unsigned)packet_blob_in.length)); NDR_PRINT_DEBUG(wrepl_packet, req->packet); } @@ -489,7 +491,8 @@ struct wrepl_request *wrepl_request_send(struct wrepl_socket *wrepl_socket, } if (DEBUGLVL(10)) { - DEBUG(10,("Sending WINS packet of length %u\n", blob.length)); + DEBUG(10,("Sending WINS packet of length %u\n", + (unsigned)blob.length)); NDR_PRINT_DEBUG(wrepl_packet, &wrap.packet); } -- cgit