Add cast to avoid warning
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 25 Jun 2010 11:47:08 +0000 (13:47 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 25 Jun 2010 11:47:08 +0000 (13:47 +0200)
src/filter_multi.cpp

index 8ddc5a8..0ee8372 100644 (file)
@@ -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(