26 lines
955 B
Diff
26 lines
955 B
Diff
|
From b7beb19ad06e08b889a44694ff813ed5f6c96da4 Mon Sep 17 00:00:00 2001
|
||
|
From: Chris Liddell <chris.liddell@artifex.com>
|
||
|
Date: Thu, 14 Sep 2023 09:01:43 +0100
|
||
|
Subject: [PATCH] Bug 707130: Cast to void ** to avoid compiler warning
|
||
|
|
||
|
---
|
||
|
base/fapi_ft.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/base/fapi_ft.c b/base/fapi_ft.c
|
||
|
index ccd629757..fc185bfd7 100644
|
||
|
--- a/base/fapi_ft.c
|
||
|
+++ b/base/fapi_ft.c
|
||
|
@@ -1280,7 +1280,7 @@ gs_fapi_ft_get_scaled_font(gs_fapi_server * a_server, gs_fapi_font * a_font,
|
||
|
|
||
|
if (a_font->retrieve_tt_font != NULL) {
|
||
|
unsigned int ms;
|
||
|
- code = a_font->retrieve_tt_font(a_font, &own_font_data, &ms);
|
||
|
+ code = a_font->retrieve_tt_font(a_font, (void **)&own_font_data, &ms);
|
||
|
if (code == 0) {
|
||
|
data_owned = false;
|
||
|
open_args.memory_base = own_font_data;
|
||
|
--
|
||
|
2.43.0
|
||
|
|