summaryrefslogtreecommitdiffstats
path: root/source4/kdc/kdc.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-11-30 03:20:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:52 -0500
commitb9b59fa7984c4f800c177a235a984e05d59f1ef8 (patch)
tree3a8a66d1e136b8fc65d1d7a261473e9102389a26 /source4/kdc/kdc.c
parent03d301ead5f702872b8cb948b8cd01b0fa0db5f7 (diff)
downloadsamba-b9b59fa7984c4f800c177a235a984e05d59f1ef8.tar.gz
samba-b9b59fa7984c4f800c177a235a984e05d59f1ef8.tar.xz
samba-b9b59fa7984c4f800c177a235a984e05d59f1ef8.zip
r11968: More warning fixes. We're on track to getting to double digits for
the number of warnings generated now. (This used to be commit d479f2d7607adc698d71c5ba26932c72a26dcaab)
Diffstat (limited to 'source4/kdc/kdc.c')
-rw-r--r--source4/kdc/kdc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index f2203577082..012ba9b5899 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -143,8 +143,8 @@ static void kdc_recv_handler(struct kdc_socket *kdc_socket)
talloc_steal(tmp_ctx, src_addr);
blob.length = nread;
- DEBUG(2,("Received krb5 UDP packet of length %u from %s:%u\n",
- blob.length, src_addr, (uint16_t)src_port));
+ DEBUG(2,("Received krb5 UDP packet of length %lu from %s:%u\n",
+ (long)blob.length, src_addr, (uint16_t)src_port));
/* Call krb5 */
ret = kdc_socket->process(kdc_socket->kdc,
@@ -219,8 +219,8 @@ static NTSTATUS kdc_tcp_recv(void *private, DATA_BLOB blob)
if (!src_addr) goto nomem;
src_port = socket_get_peer_port(kdcconn->conn->socket);
- DEBUG(2,("Received krb5 TCP packet of length %u from %s:%u\n",
- blob.length - 4, src_addr, src_port));
+ DEBUG(2,("Received krb5 TCP packet of length %lu from %s:%u\n",
+ (long)blob.length - 4, src_addr, src_port));
/* Call krb5 */
input = data_blob_const(blob.data + 4, blob.length - 4);