fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 7 Jun 2010 07:13:31 +0000 (07:13 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 7 Jun 2010 07:13:31 +0000 (07:13 +0000)
src/util/common_logging.c

index c06aadc2f148a4ff66dc794eb91901d8e3a9df5a..c6350a9ae13fc66b952eb985d8d0bdbbc13d210d 100644 (file)
@@ -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: