diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-08-19 17:27:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 17:27:32 +0200 |
commit | d3bd84d705b014025042e57d1c3f802dc4d66595 (patch) | |
tree | e24df5c8fd7b77ecf8c909f7d82481dd00d69471 | |
parent | 5f6368278f5f46dee368558fc64277e2136177f4 (diff) | |
parent | 989a4deb2f0f2faaf77b3e0239cfd44bdef98bc9 (diff) |
Merge pull request #41372 from akien-mga/fix-uint32_t-warning
Fix warning using ERR_FAIL_INDEX on unsigned int
-rw-r--r-- | core/rid_owner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rid_owner.h b/core/rid_owner.h index 2489475c68..30f1e41733 100644 --- a/core/rid_owner.h +++ b/core/rid_owner.h @@ -236,7 +236,7 @@ public: } _FORCE_INLINE_ T *get_ptr_by_index(uint32_t p_index) { - ERR_FAIL_INDEX_V(p_index, alloc_count, nullptr); + ERR_FAIL_UNSIGNED_INDEX_V(p_index, alloc_count, nullptr); if (THREAD_SAFE) { spin_lock.lock(); } |