From 93f2425bef9038fa1b411812b8bb582f145e6ed2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 7 Jun 2010 07:13:31 +0000 Subject: [PATCH] fix --- src/util/common_logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/common_logging.c b/src/util/common_logging.c index c06aadc2f..c6350a9ae 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c @@ -545,7 +545,7 @@ GNUNET_a2s (const struct sockaddr *addr, socklen_t addrlen) sizeof (buf), "%s%.*s", (off == 1) ? "@" : "", - addrlen - sizeof (sa_family_t) - 1 - off, + (int) (addrlen - sizeof (sa_family_t) - 1 - off), &un->sun_path[off]); return buf; default: -- 2.25.1