the i is long, but the fixedPriorityListeners->size() is std::size_t(unsigned long).