forked from pool/harfbuzz
Dominique Leuenberger
4864c92d70
harfbuzz 5.1.0 OBS-URL: https://build.opensuse.org/request/show/992464 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=217
29 lines
775 B
Diff
29 lines
775 B
Diff
From 04d28d94e576aab099891e6736fd0088dfac3366 Mon Sep 17 00:00:00 2001
|
|
From: psykose <alice@ayaya.dev>
|
|
Date: Mon, 1 Aug 2022 07:45:25 +0000
|
|
Subject: [PATCH] [repacker] fix signedness of char in tests
|
|
|
|
---
|
|
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 053c0c603..1b7e1f08b 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);
|
|
--
|
|
2.37.1
|
|
|