From af4aea85ae729b5a2b4f2392297732a88a6e22d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 24 Jul 2011 13:07:07 -0700 Subject: [PATCH] cast to avoid size_t vs int issue --- kdc/announce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdc/announce.c b/kdc/announce.c index c957857b9..cf3fdc363 100644 --- a/kdc/announce.c +++ b/kdc/announce.c @@ -362,7 +362,7 @@ update_dns(void) size_t len; len = strlen(update->realm); - asprintf(&dnsdata, "%c%s", len, update->realm); + asprintf(&dnsdata, "%c%s", (int)len, update->realm); if (dnsdata == NULL) errx(1, "malloc");