| Index: sandbox/linux/seccomp-bpf/verifier.cc
|
| diff --git a/sandbox/linux/seccomp-bpf/verifier.cc b/sandbox/linux/seccomp-bpf/verifier.cc
|
| index ed97572e5b3cf4ad23bfb670058de73e3a94e378..912f53db78f97ffd1b8009f99a870ec27f2fe0f3 100644
|
| --- a/sandbox/linux/seccomp-bpf/verifier.cc
|
| +++ b/sandbox/linux/seccomp-bpf/verifier.cc
|
| @@ -16,7 +16,7 @@ bool Verifier::verifyBPF(const std::vector<struct sock_filter>& program,
|
| return false;
|
| }
|
| Sandbox::EvaluateSyscall evaluateSyscall = evaluators.begin()->first;
|
| - for (int nr = MIN_SYSCALL-1; nr <= MAX_SYSCALL+1; ++nr) {
|
| + for (int nr = MIN_SYSCALL-1; nr <= static_cast<int>(MAX_SYSCALL)+1; ++nr) {
|
| // We ideally want to iterate over the full system call range and values
|
| // just above and just below this range. This gives us the full result set
|
| // of the "evaluators".
|
|
|