소스 검색

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 20 년 전
부모
커밋
62a453da47
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)