diff options
Diffstat (limited to 'pango/pango-renderer.c')
-rw-r--r-- | pango/pango-renderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c index 96ffe506..d89d53f5 100644 --- a/pango/pango-renderer.c +++ b/pango/pango-renderer.c @@ -400,7 +400,7 @@ get_item_properties (PangoItem *item, { PangoAttribute *attr = l->data; - switch (attr->klass->type) + switch ((int) attr->klass->type) { case PANGO_ATTR_SHAPE: if (shape_attr) @@ -1265,7 +1265,7 @@ pango_renderer_default_prepare_run (PangoRenderer *renderer, { PangoAttribute *attr = l->data; - switch (attr->klass->type) + switch ((int) attr->klass->type) { case PANGO_ATTR_UNDERLINE: renderer->underline = ((PangoAttrInt *)attr)->value; |