Explorar o código

Return unsigned char as needed by gcc 4.1

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1041 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake %!s(int64=20) %!d(string=hai) anos
pai
achega
62a453da47
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      exec/util.c

+ 1 - 1
exec/util.c

@@ -96,7 +96,7 @@ char *getSaNameT (SaNameT *name)
 	}
 	return (ret_name);
 #endif
-	return name->value;
+	return ((char *)name->value);
 }
 
 char *strstr_rs (const char *haystack, const char *needle)