diff --git a/core/local_vector.h b/core/local_vector.h index b09a28b25a6..7f96b25f8bb 100644 --- a/core/local_vector.h +++ b/core/local_vector.h @@ -75,7 +75,7 @@ public: } void erase(const T &p_val) { - U idx = find(p_val); + int64_t idx = find(p_val); if (idx >= 0) { remove(idx); }