projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b10c322
)
Add cast to avoid warning
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 25 Jun 2010 11:47:08 +0000
(13:47 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 25 Jun 2010 11:47:08 +0000
(13:47 +0200)
src/filter_multi.cpp
patch
|
blob
|
history
diff --git
a/src/filter_multi.cpp
b/src/filter_multi.cpp
index
8ddc5a8
..
0ee8372
100644
(file)
--- 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(