diff --git a/test/testThreadssearch.cc b/test/testThreadssearch.cc index b98102c001bb98ef14868c3c48fc7b62e42b1bbd..89e7f12779b2ff97586ba495da7327ea3cb4e5fa 100644 --- a/test/testThreadssearch.cc +++ b/test/testThreadssearch.cc @@ -27,7 +27,7 @@ std::shared_ptr<GenEvent> generate(const int Z) { v1->add_particle_in(b2); v1->add_particle_out(b3); evt->add_vertex(v1); - for (size_t z= 0; z < Z; z++) { + for (int z = 0; z < Z; z++) { std::vector<GenParticlePtr> particles = evt->particles(); for (auto p: particles) { if (p->end_vertex()) continue;