summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/local_vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/local_vector.h b/core/local_vector.h
index b09a28b25a..7f96b25f8b 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);
}