[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix build warning with bionic libc on Android
From: |
Alexei Podtelezhnikov |
Subject: |
Re: Fix build warning with bionic libc on Android |
Date: |
Mon, 29 Nov 2021 15:59:55 -0500 |
> Thanks!
>
> On Mon, Nov 29, 2021 at 9:22 AM Werner LEMBERG <wl@gnu.org> wrote:
>>
>>
>> > I found a build warning in the latest FreeType source code and
>> > likely this only happens with the bionic libc used in Android.
>> >
>> > Here is the proposed patch for fixing warnings. [...]
>>
>> Patch applied, thanks!
So USHORT_MAX on your platform is 65535U, other known platforms do not
have U and do not have this problem. These constants are promoted to
int without U. I wonder why bionic libc decided to use the prefix.