good for merge

On Tue, 2009-04-21 at 14:57 -0500, Ryan O'Hara wrote:
> 
> The current lib/msg.c code produces this warning at compile time:
> 
> warning: comparison is always false due to limited range of data type
> 
> In the saMsgMessageSend, we must check that the message priority is
> valid. Since message->priority is unsigned, checking if it less than
> zero (SA_MSG_MESSAGE_HIGHEST_PRIORITY) will always return false. We
> only need to check that it is not greater than
> SA_MSG_MESSAGE_LOWEST_PRIORITY.
> 
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to