blob: 029ca2bfffc5a03d5c94feefabc83f1aeea4d65a [file] [log] [blame]
From 1bd3884bc0544ffbb6545ed2391f0932bb8d7d91 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Mon, 1 Aug 2022 07:45:25 +0000
Subject: [PATCH] fix signedness of char in tests
Upstream-Status: Backport
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
src/test-repacker.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test-repacker.cc b/src/test-repacker.cc
index 053c0c6..1b7e1f0 100644
--- a/src/test-repacker.cc
+++ b/src/test-repacker.cc
@@ -112,9 +112,9 @@ static void start_lookup (int8_t type,
hb_serialize_context_t* c)
{
char lookup[] = {
- 0, type, // type
+ 0, (char)type, // type
0, 0, // flag
- 0, num_subtables, // num subtables
+ 0, (char)num_subtables, // num subtables
};
start_object (lookup, 6, c);