[Fontconfig] fontconfig: Branch 'master'

Behdad Esfahbod behdad at behdad.org
Tue Jan 9 21:50:04 UTC 2018


On Tue, Jan 9, 2018 at 9:44 PM, Keith Packard <keithp at keithp.com> wrote:

> behdad at kemper.freedesktop.org (Behdad Esfahbod) writes:
>
> >     Fix undefined-behavior signed shifts
>
> How is left shift of signed values undefined?
>

1<<0x1F is 2147483648 which is not representable in int32_t. No? At least
that's my understanding of what the compiler was nagging about.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20180109/35074a71/attachment.html>


More information about the Fontconfig mailing list