projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
556e516
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Mon, 7 Jun 2010 07:13:31 +0000
(07:13 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 7 Jun 2010 07:13:31 +0000
(07:13 +0000)
src/util/common_logging.c
patch
|
blob
|
history
diff --git
a/src/util/common_logging.c
b/src/util/common_logging.c
index c06aadc2f148a4ff66dc794eb91901d8e3a9df5a..c6350a9ae13fc66b952eb985d8d0bdbbc13d210d 100644
(file)
--- 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: