Explorar o código

Error comparing unsigned to less than zero.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@723 fd59a12c-fef9-0310-b244-a6a79926bd2f
Mark Haverkamp %!s(int64=20) %!d(string=hai) anos
pai
achega
d192e91974
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      lib/evt.c

+ 1 - 2
lib/evt.c

@@ -1392,8 +1392,7 @@ saEvtEventAttributesSet(
 	struct event_data_instance *edi;
 	int i;
 
-	if (priority < SA_EVT_HIGHEST_PRIORITY ||
-			priority > SA_EVT_LOWEST_PRIORITY) {
+	if (priority > SA_EVT_LOWEST_PRIORITY) {
 		return SA_AIS_ERR_INVALID_PARAM;
 	}