diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-12 19:02:37 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-14 18:55:09 -0500 |
commit | 1ed3cdb2d1fdfe923b9981a9844d834b1aa0acaf (patch) | |
tree | 30f2269d005b2fb6ff7e44ed43a6043838425d52 | |
parent | 34596338d0b03e2da697502c36f8d5e9ec9e8487 (diff) | |
download | pango-1ed3cdb2d1fdfe923b9981a9844d834b1aa0acaf.tar.gz |
testrandom: Quiet a compiler warning
-rw-r--r-- | tests/testrandom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testrandom.c b/tests/testrandom.c index 3f6e4ce0..ab495cef 100644 --- a/tests/testrandom.c +++ b/tests/testrandom.c @@ -33,7 +33,7 @@ static gsize n_rtl_words; static const char * random_word (PangoDirection dir) { - switch (dir) + switch ((int)dir) { case PANGO_DIRECTION_LTR: return ltr_words[g_test_rand_int_range (0, n_ltr_words)]; |