Commit 5f161178 authored by Michael Jerris's avatar Michael Jerris

fix gcc4 warnings under -Wall

darcs-hash:20060927161912-16063-3cb3e0706edc40d34d609b104f5654d53e1232db.gz
parent 9d2db63d
......@@ -932,7 +932,7 @@ void su_freeaddrinfo(su_addrinfo_t *res)
/** Return string describing address translation error. */
char const *su_gai_strerror(int errcode)
{
return gai_strerror(errcode);
return (char const *)gai_strerror(errcode);
}
/** Resolve socket address into hostname and service name.
......
......@@ -254,7 +254,7 @@ int tport_recv_dgram(tport_t *self)
return -1;
}
else if (n <= 1) {
SU_DEBUG_1(("%s(%p): runt of %u bytes\n", "tport_recv_dgram", self, n));
SU_DEBUG_1(("%s(%p): runt of "MOD_ZD" bytes\n", "tport_recv_dgram", self, n));
msg_destroy(msg), self->tp_msg = NULL;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment