[pango/line-breaking-fixes: 15/21] Quiet a compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/line-breaking-fixes: 15/21] Quiet a compiler warning
- Date: Sat, 13 Nov 2021 02:42:16 +0000 (UTC)
commit 3cf98dd160f104aed5c76c665da87704be9a2002
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 12 19:02:37 2021 -0500
Quiet a compiler warning
tests/testrandom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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)];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]