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

Merge trunk revision 2851:
r2851 | sdake | 2010-05-18 09:44:59 -0700 (Tue, 18 May 2010) | 2 lines

Fix signed comparison with unsigned value in mainconfig.c



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2893 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 15 лет назад
Родитель
Сommit
1d0b20fd69
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