Просмотр исходного кода

Fix signed comparison with unsigned value in mainconfig.c

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2851 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 15 лет назад
Родитель
Сommit
6d79a218e2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      exec/mainconfig.c

+ 1 - 1
exec/mainconfig.c

@@ -312,7 +312,7 @@ static int corosync_main_config_set (
 {
 {
 	const char *error_reason = error_string_response;
 	const char *error_reason = error_string_response;
 	char *value;
 	char *value;
-	unsigned int mode;
+	int mode;
 
 
 	/*
 	/*
 	 * this bit abuses the internal logsys exported API
 	 * this bit abuses the internal logsys exported API