Przeglądaj źródła

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 lat temu
rodzic
commit
6d79a218e2
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 	char *value;
-	unsigned int mode;
+	int mode;
 
 	/*
 	 * this bit abuses the internal logsys exported API