diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-11-12 19:02:37 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-11-14 15:32:30 -0500 |
commit | f7345d004bf4199eca996633885055517852bd56 (patch) | |
tree | 7c5a896bde04d0d42c1a9d9524d6e465733413a5 /tests/testrandom.c | |
parent | 330d1cd22be4460a0091ec576646ff6f3742c910 (diff) | |
download | pango-f7345d004bf4199eca996633885055517852bd56.tar.gz |
testrandom: Quiet a compiler warning
Diffstat (limited to 'tests/testrandom.c')
-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 3b9b543d..ed8728c4 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)]; |