diff --git a/tests/test_bench_push.cpp b/tests/test_bench_push.cpp index 389e4653..a9c6e1ae 100644 --- a/tests/test_bench_push.cpp +++ b/tests/test_bench_push.cpp @@ -155,7 +155,7 @@ int main(int argc, char *argv[]) { recursive_mutex mtx; unordered_map pusher_map; - auto add_pusher = [&](const MediaSource::Ptr &src, const string &rand_str, int index) { + auto add_pusher = [&](const MediaSource::Ptr &src, const string &rand_str, size_t index) { auto pusher = std::make_shared(src); auto tag = pusher.get(); pusher->setOnCreateSocket([](const EventPoller::Ptr &poller) {