rid warning on solaris

This commit is contained in:
Doug MacEachern 2006-02-28 00:18:05 +00:00
parent d59a39e0ab
commit a0b3363afd

View File

@ -512,7 +512,7 @@ static enum clnt_stat get_sockaddr(struct sockaddr_in *addr, char *host)
char *sigar_rpc_strerror(int err)
{
return clnt_sperrno(err);
return (char *)clnt_sperrno(err);
}
SIGAR_DECLARE(int) sigar_rpc_ping(char *host,