From c2df83d4f0889c9be31a7fd2fc2a3652ce32a147 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 4 Aug 2025 12:24:11 +0200 Subject: [PATCH] Printers: Fix two recently introduced warnings. --- src/printer/prt_escp.c | 2 +- src/printer/prt_text.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/printer/prt_escp.c b/src/printer/prt_escp.c index a210dcaa1..e4f9c81ee 100644 --- a/src/printer/prt_escp.c +++ b/src/printer/prt_escp.c @@ -2156,5 +2156,5 @@ const lpt_device_t lpt_prt_escp_device = { .epp_request_read = NULL, .priv = NULL, .lpt = NULL, - .cfgdevice = &prt_escp_device + .cfgdevice = (device_t *) &prt_escp_device }; diff --git a/src/printer/prt_text.c b/src/printer/prt_text.c index 24055073b..a9808845f 100644 --- a/src/printer/prt_text.c +++ b/src/printer/prt_text.c @@ -570,5 +570,5 @@ const lpt_device_t lpt_prt_text_device = { .epp_request_read = NULL, .priv = NULL, .lpt = NULL, - .cfgdevice = &prt_text_device + .cfgdevice = (device_t *) &prt_text_device };