Skip to content

Commit fa56278

Browse files
authored
Update gen_packets.c
Fix truncation warnings from GCC 7.1
1 parent cd564ae commit fa56278

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gen_packets.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ int main(int argc, char **argv)
619619
*/
620620
for (i = 1; i <= packet_count; i++) {
621621

622-
char stemp[80];
622+
char stemp[88];
623623

624624
if (modem.achan[0].baud < 600) {
625625
/* e.g. 300 bps AFSK - About 2/3 should be decoded properly. */
@@ -968,4 +968,4 @@ static int audio_file_close (void)
968968

969969
void dcd_change (int chan, int subchan, int slice, int state)
970970
{
971-
}
971+
}

0 commit comments

Comments
 (0)