[vlc-devel] [PATCH 1/2] vlc_arrays: Return dict hash as size_t

Rémi Denis-Courmont remi at remlab.net
Fri Dec 4 14:29:45 CET 2020


Le perjantaina 4. joulukuuta 2020, 11.36.05 EET Francois Cartegnie a écrit :
> Le 04/12/2020 à 10:31, Hugo Beauzée-Luyssen a écrit :
> > As they are used as index, this type is more appropriate
> > ---
> 
> hashsize is signed int, so that does not make any difference.

That sounds like a bug. Left shift does not play well with signed types.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list