提交 7f852b64 编写于 作者: B Behdad Esfahbod

Fix compiler warnings

上级 f7e8dcfd
...@@ -620,7 +620,7 @@ final_reordering_syllable (hb_buffer_t *buffer, hb_mask_t *mask_array, ...@@ -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 { ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册