mirror of https://github.com/wb2osz/direwolf.git
Update gen_packets.c
Fix truncation warnings from GCC 7.1
This commit is contained in:
parent
cd564ae398
commit
fa5627801b
|
@ -619,7 +619,7 @@ int main(int argc, char **argv)
|
||||||
*/
|
*/
|
||||||
for (i = 1; i <= packet_count; i++) {
|
for (i = 1; i <= packet_count; i++) {
|
||||||
|
|
||||||
char stemp[80];
|
char stemp[88];
|
||||||
|
|
||||||
if (modem.achan[0].baud < 600) {
|
if (modem.achan[0].baud < 600) {
|
||||||
/* e.g. 300 bps AFSK - About 2/3 should be decoded properly. */
|
/* e.g. 300 bps AFSK - About 2/3 should be decoded properly. */
|
||||||
|
@ -968,4 +968,4 @@ static int audio_file_close (void)
|
||||||
|
|
||||||
void dcd_change (int chan, int subchan, int slice, int state)
|
void dcd_change (int chan, int subchan, int slice, int state)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue