Fix compiler warnings
This commit is contained in:
parent
f7e8dcfd4f
commit
7f852b644b
|
@ -620,7 +620,7 @@ final_reordering_syllable (hb_buffer_t *buffer, hb_mask_t *mask_array,
|
||||||
} reph_pos;
|
} reph_pos;
|
||||||
|
|
||||||
/* XXX Figure out old behavior too */
|
/* XXX Figure out old behavior too */
|
||||||
switch (buffer->props.script)
|
switch ((hb_tag_t) buffer->props.script)
|
||||||
{
|
{
|
||||||
case HB_SCRIPT_MALAYALAM:
|
case HB_SCRIPT_MALAYALAM:
|
||||||
case HB_SCRIPT_ORIYA:
|
case HB_SCRIPT_ORIYA:
|
||||||
|
|
|
@ -68,7 +68,7 @@ enum hb_ot_complex_shaper_t {
|
||||||
static inline hb_ot_complex_shaper_t
|
static inline hb_ot_complex_shaper_t
|
||||||
hb_ot_shape_complex_categorize (const hb_segment_properties_t *props)
|
hb_ot_shape_complex_categorize (const hb_segment_properties_t *props)
|
||||||
{
|
{
|
||||||
switch ((int) props->script)
|
switch ((hb_tag_t) props->script)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
return hb_ot_complex_shaper_default;
|
return hb_ot_complex_shaper_default;
|
||||||
|
|
Loading…
Reference in New Issue