From: Christian Grothoff Date: Mon, 7 Jun 2010 07:13:31 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~21463 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=93f2425bef9038fa1b411812b8bb582f145e6ed2;p=oweals%2Fgnunet.git fix --- 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: