From a0b3363afd28b4bca4989cbd11a159d40d4c9654 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 28 Feb 2006 00:18:05 +0000 Subject: [PATCH] rid warning on solaris --- src/sigar_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sigar_util.c b/src/sigar_util.c index 7eea04a2..fccabc3c 100644 --- a/src/sigar_util.c +++ b/src/sigar_util.c @@ -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,