commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 14/15: digital: fix for issue #663.


From: git
Subject: [Commit-gnuradio] [gnuradio] 14/15: digital: fix for issue #663.
Date: Thu, 10 Apr 2014 19:38:19 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 5eb513e19e194dd0b43e4aa737b041a45854528d
Author: Jared Boone <address@hidden>
Date:   Thu Apr 10 15:19:55 2014 -0400

    digital: fix for issue #663.
    
    Allows the correlate_access_code to use access codes >= 32 bits.
---
 gr-digital/lib/correlate_access_code_tag_bb_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-digital/lib/correlate_access_code_tag_bb_impl.cc 
b/gr-digital/lib/correlate_access_code_tag_bb_impl.cc
index f976676..f6574dd 100644
--- a/gr-digital/lib/correlate_access_code_tag_bb_impl.cc
+++ b/gr-digital/lib/correlate_access_code_tag_bb_impl.cc
@@ -79,7 +79,7 @@ namespace gr {
         return false;
 
       // set d_len bottom bits to 1.
-      d_mask = (1 << d_len) - 1;
+      d_mask = (1ULL << d_len) - 1;
 
       d_access_code = 0;
       for(unsigned i=0; i < d_len; i++){



reply via email to

[Prev in Thread] Current Thread [Next in Thread]