diff --git a/lib/decoding/control_channels_decoder_impl.cc b/lib/decoding/control_channels_decoder_impl.cc index 1d25664..532e255 100644 --- a/lib/decoding/control_channels_decoder_impl.cc +++ b/lib/decoding/control_channels_decoder_impl.cc @@ -124,7 +124,7 @@ namespace gr { //std::cout << "Everything correct" << std::endl; } //compress bits - unsigned char outmsg[27]; + unsigned char outmsg[28]; unsigned char sbuf_len=224; int i, j, c, pos=0; for(i = 0; i < sbuf_len; i += 8) { diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc index cbb1481..f409d37 100644 --- a/lib/decoding/tch_f_decoder_impl.cc +++ b/lib/decoding/tch_f_decoder_impl.cc @@ -143,7 +143,7 @@ namespace gr { if (syndrome == 0) { - unsigned char outmsg[27]; + unsigned char outmsg[28]; unsigned char sbuf_len=224; int i, j, c, pos=0; for(i = 0; i < sbuf_len; i += 8) {