Build: Fix compilation for VS-2022 debug mode - warning (#5606)

- closes https://github.com/assimp/assimp/issues/5601
pull/5600/head^2
Kim Kulling 2024-05-31 13:08:51 +02:00 committed by GitHub
parent 43634b8b27
commit 0d546b3d2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -5267,7 +5267,7 @@ struct mz_zip_internal_state_tag {
(array_ptr)->m_element_size = element_size (array_ptr)->m_element_size = element_size
#if defined(DEBUG) || defined(_DEBUG) #if defined(DEBUG) || defined(_DEBUG)
static MZ_FORCEINLINE mz_uint static MZ_FORCEINLINE size_t
mz_zip_array_range_check(const mz_zip_array *pArray, mz_uint index) { mz_zip_array_range_check(const mz_zip_array *pArray, mz_uint index) {
MZ_ASSERT(index < pArray->m_size); MZ_ASSERT(index < pArray->m_size);
return index; return index;