From a698f0ee22b1e420ded85577c4dccda3f63c0cba Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 21 May 2011 23:16:10 +0200 Subject: [PATCH] Reacted on -Wextra -Wno-unused-parameter warnings of gcc for messages.c --- libisofs/messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/messages.c b/libisofs/messages.c index cc9bf74..a7b36f6 100644 --- a/libisofs/messages.c +++ b/libisofs/messages.c @@ -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; }