[vlc-devel] [PATCH 4/4] vlc_arrays.h: vlc_dictionary_has_key: Use the correct index type
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Thu Oct 22 09:49:49 CEST 2020
---
include/vlc_arrays.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vlc_arrays.h b/include/vlc_arrays.h
index b558422f93..6fde22d00b 100644
--- a/include/vlc_arrays.h
+++ b/include/vlc_arrays.h
@@ -456,7 +456,7 @@ vlc_dictionary_has_key( const vlc_dictionary_t * p_dict, const char * psz_key )
if( !p_dict->p_entries )
return 0;
- int i_pos = DictHash( psz_key, p_dict->i_size );
+ uint64_t i_pos = DictHash( psz_key, p_dict->i_size );
const vlc_dictionary_entry_t * p_entry = p_dict->p_entries[i_pos];
for( ; p_entry != NULL; p_entry = p_entry->p_next )
{
--
2.20.1
More information about the vlc-devel
mailing list