From e691d19741323aae3c4c5906859fa2bb5f9755b9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 25 Jun 2010 13:47:08 +0200 Subject: [PATCH] Add cast to avoid warning --- src/filter_multi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 1.7.10.4