summaryrefslogtreecommitdiff
path: root/HSMODEM.c
diff options
context:
space:
mode:
Diffstat (limited to 'HSMODEM.c')
-rw-r--r--HSMODEM.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/HSMODEM.c b/HSMODEM.c
index fe05fed..1787d8a 100644
--- a/HSMODEM.c
+++ b/HSMODEM.c
@@ -567,7 +567,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff)
sprintf(Msg, "%d SCANSTOP", TNC->Port);
- Rig_Command(-1, Msg);
+ Rig_Command( (TRANSPORTENTRY *) -1, Msg);
}
if (STREAM->Attached)
@@ -685,7 +685,7 @@ static size_t ExtProc(int fn, int port, PDATAMESSAGE buff)
{
sprintf(&buff->L2DATA[0], "%d %s", TNC->Port, &buff->L2DATA[6]);
- if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK->CIRCUITINDEX, &buff->L2DATA[0]))
+ if (Rig_Command(TNC->PortRecord->ATTACHEDSESSIONS[0]->L4CROSSLINK, &buff->L2DATA[0]))
{
}
else
@@ -890,7 +890,7 @@ VOID HSMODEMReleaseTNC(struct TNCINFO * TNC)
sprintf(TXMsg, "%d SCANSTART 15", TNC->Port);
- Rig_Command(-1, TXMsg);
+ Rig_Command( (TRANSPORTENTRY *) -1, TXMsg);
ReleaseOtherPorts(TNC);