From 443368dd1b77f8f339809e88fd7335860afb065d Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Tue, 18 Jan 2022 11:52:27 +0000 Subject: [PATCH] init/conqpac.c : change type of key to stop c68 error Signed-off-by: Graeme Gregory --- init/conqpac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/conqpac.c b/init/conqpac.c index 938d63f..485c054 100644 --- a/init/conqpac.c +++ b/init/conqpac.c @@ -666,7 +666,7 @@ extern int consetup_qpac_poll(chanid_t chanid) auto short x = -1; auto short y = -1; auto struct WM_prec prec; - auto unsigned char key; + auto char key; /* Read pointer. Return immiately. Use io.fbyte if no PI. */ @@ -677,7 +677,7 @@ extern int consetup_qpac_poll(chanid_t chanid) } else { - if(!!(qderr = io_fbyte(chanid, 0, &((unsigned char)key)))) + if(!!(qderr = io_fbyte(chanid, 0, &key))) { if(qderr != ERR_NC) {