diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c index fc555265f..09f49dc20 100644 --- a/tests/rigctl_parse.c +++ b/tests/rigctl_parse.c @@ -5384,7 +5384,7 @@ declare_proto_rig(send_cmd) } } while ((retval > 0 && rxbytes == BUFSZ && eom_buf[0] != ';' - && eom_buf[0] != 0xfd) || --cmdcount > 1); + && (unsigned char)eom_buf[0] != 0xfd) || --cmdcount > 1); rig_flush_force(rp, 1); set_transaction_inactive(rig);