From: Adam Dickmeiss Date: Fri, 25 Jun 2010 11:47:08 +0000 (+0200) Subject: Add cast to avoid warning X-Git-Tag: v1.1.7~6 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=e691d19741323aae3c4c5906859fa2bb5f9755b9;p=metaproxy-moved-to-github.git Add cast to avoid warning --- diff --git a/src/filter_multi.cpp b/src/filter_multi.cpp index 8ddc5a8..0ee8372 100644 --- a/src/filter_multi.cpp +++ b/src/filter_multi.cpp @@ -766,7 +766,7 @@ void yf::Multi::Frontend::present(mp::Package &package, Z_APDU *apdu_req) f_resp->records = z_records_diag; *f_resp->presentStatus = Z_PresentStatus_failure; } - else if (number < 0 || number > jobs.size()) + else if (number < 0 || (size_t) number > jobs.size()) { f_apdu = odr.create_presentResponse(