[vlc-devel] [vlc-commits] block: only do the size test when it's meaningful

Rémi Denis-Courmont remi at remlab.net
Wed Jul 11 18:17:12 CEST 2018


Le keskiviikkona 11. heinäkuuta 2018, 12.21.50 EEST Steve Lhomme a écrit :
> oops commit. Anyway I think there's something wrong with this check. If
> uintmax_t and size_t have the same size the cast won't check anything.
> Whereas st_size is an off_t which may be bigger than a size_t.

"I explained what it fixes."

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





More information about the vlc-devel mailing list