[vlc-devel] [PATCH] libmp4: fix argument for formatting
Rémi Denis-Courmont
remi at remlab.net
Fri Mar 27 16:55:00 CET 2020
Le perjantaina 27. maaliskuuta 2020, 17.45.16 EET Alexandre Janniaux a écrit :
> i_profile_level is uint8_t but the bitwise operation is promoting it to
> an int,
That's *irrelevant*. Expression is promoted to integer rank regardless of the
shift because it is a variadic argument.
The current code is just fine. PRIu8 *expects* a promoted uint8_t value.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list