Reacted on -Wextra -Wno-unused-parameter warnings of gcc for messages.c

This commit is contained in:
Thomas Schmitt 2011-05-21 23:16:10 +02:00
parent e69854b35f
commit a698f0ee22

View File

@ -480,7 +480,7 @@ int iso_msg_submit(int imgid, int errcode, int causedby, const char *fmt, ...)
va_list ap;
/* when called with ISO_CANCELED, we don't need to submit any message */
if (errcode == ISO_CANCELED && fmt == NULL) {
if (errcode == (int) ISO_CANCELED && fmt == NULL) {
return ISO_CANCELED;
}