blob: 029ca2bfffc5a03d5c94feefabc83f1aeea4d65a [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From 1bd3884bc0544ffbb6545ed2391f0932bb8d7d91 Mon Sep 17 00:00:00 2001
2From: psykose <alice@ayaya.dev>
3Date: Mon, 1 Aug 2022 07:45:25 +0000
4Subject: [PATCH] fix signedness of char in tests
5
6Upstream-Status: Backport
7Signed-off-by: Alexander Kanavin <alex@linutronix.de>
8---
9 src/test-repacker.cc | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/src/test-repacker.cc b/src/test-repacker.cc
13index 053c0c6..1b7e1f0 100644
14--- a/src/test-repacker.cc
15+++ b/src/test-repacker.cc
16@@ -112,9 +112,9 @@ static void start_lookup (int8_t type,
17 hb_serialize_context_t* c)
18 {
19 char lookup[] = {
20- 0, type, // type
21+ 0, (char)type, // type
22 0, 0, // flag
23- 0, num_subtables, // num subtables
24+ 0, (char)num_subtables, // num subtables
25 };
26
27 start_object (lookup, 6, c);