[vlc-devel] [PATCH] opensles_android: fix integer print format

Rémi Denis-Courmont remi at remlab.net
Fri Mar 27 10:52:48 CET 2020


Le perjantaina 27. maaliskuuta 2020, 11.39.32 EET Alexandre Janniaux a écrit :
> Hi,
> 
> To be exact, my question implied two questions:
> 
> + as it should be stored on SLuint32, should casting to uint32_t
>   without checking size/overflow be ok?

That should work.

> + as SLuint32 is specified as a «32-bit unsigned type», and not
>   «at least 32bit-signed type», shouldn't it be ok to assume that
>   it's already the same type as uint32_t?

How does that work on LPI32 or LLP64 platforms where you have two incompatible 
32-bit interger types?

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list