Parcourir la source

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 il y a 20 ans
Parent
commit
62a453da47
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)