Update gen_packets.c

Fix truncation warnings from GCC 7.1
This commit is contained in:
Dwaine Garden 2017-05-16 00:09:38 -04:00 committed by GitHub
parent cd564ae398
commit fa5627801b
1 changed files with 2 additions and 2 deletions

View File

@ -619,7 +619,7 @@ int main(int argc, char **argv)
*/
for (i = 1; i <= packet_count; i++) {
char stemp[80];
char stemp[88];
if (modem.achan[0].baud < 600) {
/* 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)
{
}
}