summaryrefslogtreecommitdiff
path: root/tests/test-itemize.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-22 02:01:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-22 02:36:48 -0400
commitc47c61012687f9e24826c17ffec8eafbe0a2e68c (patch)
tree3d76a550a6d3c9bfed4d61e59f727aa59095cc1b /tests/test-itemize.c
parent9e8e4c7cd291bca8a28a18611cc0111a123291a6 (diff)
downloadpango-c47c61012687f9e24826c17ffec8eafbe0a2e68c.tar.gz
tests: Silence compiler warnings
Diffstat (limited to 'tests/test-itemize.c')
-rw-r--r--tests/test-itemize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-itemize.c b/tests/test-itemize.c
index 926eb3ae..105b453d 100644
--- a/tests/test-itemize.c
+++ b/tests/test-itemize.c
@@ -55,7 +55,7 @@ static gboolean
affects_itemization (PangoAttribute *attr,
gpointer data)
{
- switch (attr->klass->type)
+ switch ((int)attr->klass->type)
{
/* These affect font selection */
case PANGO_ATTR_LANGUAGE: