summaryrefslogtreecommitdiff
path: root/CommonCode.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-05-16 16:40:12 +0100
committerg8bpq <john.wiseman@cantab.net>2023-05-16 16:40:12 +0100
commitac7e6b99beace1e002246436175581d01b02a117 (patch)
tree6f6113b3d9fbd62c94530619e2a827a708831976 /CommonCode.c
parent60ff21fb3139286e7a79ea73e4b9ae28d6a5524b (diff)
6.0.23.6623.70
Diffstat (limited to 'CommonCode.c')
-rw-r--r--CommonCode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/CommonCode.c b/CommonCode.c
index f7e1685..1ec3989 100644
--- a/CommonCode.c
+++ b/CommonCode.c
@@ -72,6 +72,7 @@ extern BOOL LogAllConnects;
extern VOID * ENDBUFFERPOOL;
+
// Read/Write length field in a buffer header
// Needed for Big/LittleEndian and ARM5 (unaligned operation problem) portability
@@ -777,7 +778,7 @@ NotConnected:
char Msg[128];
sprintf(Msg, "R%d %f", TNC->RXRadio, TNC->DefaultRXFreq);
- Rig_Command(-1, Msg);
+ Rig_Command( (TRANSPORTENTRY *) -1, Msg);
}
if (TNC->DefaultTXFreq && TNC->TXRadio && TNC->TXRadio != TNC->RXRadio)
@@ -785,7 +786,7 @@ NotConnected:
char Msg[128];
sprintf(Msg, "R%d %f", TNC->TXRadio, TNC->DefaultTXFreq);
- Rig_Command(-1, Msg);
+ Rig_Command( (TRANSPORTENTRY *) -1, Msg);
}
while(STREAM->BPQtoPACTOR_Q)
@@ -927,7 +928,7 @@ BOOL ProcessIncommingConnectEx(struct TNCINFO * TNC, char * Call, int Stream, BO
sprintf(Msg, "%d SCANSTOP", TNC->Port);
- Rig_Command(-1, Msg);
+ Rig_Command( (TRANSPORTENTRY *) -1, Msg);
UpdateMH(TNC, Call, '+', 'I');
}