소스 검색

Remove warning about unsigned/signed passed to strcpy

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1043 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 20 년 전
부모
커밋
562a8d87b4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      exec/amfconfig.c

+ 1 - 1
exec/amfconfig.c

@@ -685,7 +685,7 @@ int amf_config_read (struct amf_cluster *cluster, char **error_string)
 				healthcheck->next = comp->healthcheck_head;
 				comp->healthcheck_head = healthcheck;
 				healthcheck->comp = comp;
-				strcpy (healthcheck->safHealthcheckKey.key, trim_str (loc));
+				strcpy ((char *)healthcheck->safHealthcheckKey.key, trim_str (loc));
 				healthcheck->safHealthcheckKey.keyLen = strlen (loc);
 				current_parse = AMF_HEALTHCHECK;
 			} else if (strstr_rs (line, "}")) {