Skip to content

Commit

Permalink
init/conqpac.c : change type of key to stop c68 error
Browse files Browse the repository at this point in the history
Signed-off-by: Graeme Gregory <[email protected]>
  • Loading branch information
xXorAa committed Jan 18, 2022
1 parent 41f9be4 commit 443368d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init/conqpac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */

Expand All @@ -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)
{
Expand Down

0 comments on commit 443368d

Please sign in to comment.