forked from minhngoc25a/freetype2
insert explict cast to FT_Fixed when bitshifting for FT_Fixed value.
note: long constant is too large for LP64 platforms.
This commit is contained in:
parent
776ff19d64
commit
58dd3a1e6e
|
@ -771,8 +771,8 @@
|
|||
/* completely refer to the (already) hinted subglyphs. */
|
||||
if ( is_composite )
|
||||
{
|
||||
loader->exec->metrics.x_scale = 1 << 16;
|
||||
loader->exec->metrics.y_scale = 1 << 16;
|
||||
loader->exec->metrics.x_scale = (FT_Fixed)1 << 16;
|
||||
loader->exec->metrics.y_scale = (FT_Fixed)1 << 16;
|
||||
|
||||
FT_ARRAY_COPY( zone->orus, zone->cur, zone->n_points );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue