From cd564ae398cbcd28f738cb332f021a5aebfa8fab Mon Sep 17 00:00:00 2001 From: Dwaine Garden Date: Tue, 16 May 2017 00:05:31 -0400 Subject: [PATCH 1/2] Update tt_text.c Fix truncation warnings from GCC 7.1 --- tt_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tt_text.c b/tt_text.c index 8cd7ba8..9ca7f46 100644 --- a/tt_text.c +++ b/tt_text.c @@ -468,7 +468,7 @@ int tt_text_to_call10 (const char *text, int quiet, char *buttons) int errors = 0; int found; char padded[8]; - char stemp[8]; + char stemp[11]; strcpy (buttons, ""); From fa5627801bf55cfbdea438905d85ef344f3c7aa1 Mon Sep 17 00:00:00 2001 From: Dwaine Garden Date: Tue, 16 May 2017 00:09:38 -0400 Subject: [PATCH 2/2] 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 +}