From fa5627801bf55cfbdea438905d85ef344f3c7aa1 Mon Sep 17 00:00:00 2001 From: Dwaine Garden Date: Tue, 16 May 2017 00:09:38 -0400 Subject: [PATCH] Update gen_packets.c Fix truncation warnings from GCC 7.1 --- gen_packets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_packets.c b/gen_packets.c index c239010..c15b6b5 100644 --- a/gen_packets.c +++ b/gen_packets.c @@ -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) { -} \ No newline at end of file +}