clean up a couple of compile warnings

pull/453/head
Michael Black W9MDB 2020-11-18 16:31:09 -06:00
rodzic 8fd78de372
commit 8ecf7b15ba
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1488,7 +1488,7 @@ int adat_get_single_cmd_result(RIG *pRig)
pcPos = acBuf; pcPos = acBuf;
if ((nRC == RIG_OK)) if (nRC == RIG_OK)
{ {
int nBufLength = 0; int nBufLength = 0;

Wyświetl plik

@ -354,10 +354,10 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp)
/* TODO */ /* TODO */
rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed=%d,0x%04x\n", __func__, rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed=%d,0x%04x\n", __func__,
rp->parm.serial.rate, speed); (int)rp->parm.serial.rate, (int)speed);
cfsetispeed(&options, speed); cfsetispeed(&options, speed);
rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed=%d,0x%04x\n", __func__, rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed=%d,0x%04x\n", __func__,
rp->parm.serial.rate, speed); (int)rp->parm.serial.rate, (int)speed);
cfsetospeed(&options, speed); cfsetospeed(&options, speed);
/* /*