aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decoding/control_channels_decoder_impl.cc
diff options
context:
space:
mode:
authorSteve Glass <smdg@hush.com>2016-02-27 19:47:00 +1000
committerSteve Glass <smdg@hush.com>2016-02-27 19:48:52 +1000
commit6b20e1fcdc2f9f5423e40166104b47ee13fb0e19 (patch)
treea6acae42d3930a300990cd5f4b13d15d53c97dd0 /lib/decoding/control_channels_decoder_impl.cc
parent64f73887b07551d9a603f920063af04263fb03a7 (diff)
Fix buffer overrun/silence compiler warning
Diffstat (limited to 'lib/decoding/control_channels_decoder_impl.cc')
-rw-r--r--lib/decoding/control_channels_decoder_impl.cc2
1 files changed, 1 insertions, 1 deletions
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) {