Merge pull request #41372 from akien-mga/fix-uint32_t-warning
Fix warning using ERR_FAIL_INDEX on unsigned int
This commit is contained in:
commit
d3bd84d705
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue