[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] INT_MIN and FT_Render_Glyph
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] INT_MIN and FT_Render_Glyph |
Date: |
Fri, 13 Feb 2015 12:00:51 -0500 |
Why is it supposed to work? I do not follow.
> #define INT_MIN 0x80000000
This might be an unsigned integer constant according to standards.
When used, it may result in implicit type conversion to unsigned for
the rest of calculations and comparisons: the hell breaks loose. This
is a reason to
> #define INT_MIN (-2147483647 - 1)