commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 06/08: blocks: use explicit type conversion


From: git
Subject: [Commit-gnuradio] [gnuradio] 06/08: blocks: use explicit type conversion to compare the same types.
Date: Tue, 31 Mar 2015 20:37:40 +0000 (UTC)

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

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit 2e57e069126eb82e13e619ecacb5996f58370369
Author: Michael Dickens <address@hidden>
Date:   Wed Mar 18 12:56:38 2015 -0400

    blocks: use explicit type conversion to compare the same types.
---
 gr-blocks/lib/multiply_matrix_ff_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-blocks/lib/multiply_matrix_ff_impl.cc 
b/gr-blocks/lib/multiply_matrix_ff_impl.cc
index 6f7d741..c0b3abf 100644
--- a/gr-blocks/lib/multiply_matrix_ff_impl.cc
+++ b/gr-blocks/lib/multiply_matrix_ff_impl.cc
@@ -181,7 +181,7 @@ namespace gr {
     void
     
multiply_matrix_ff_impl::set_tag_propagation_policy(gr::block::tag_propagation_policy_t
 tpp)
     {
-      if (tpp == TPP_SELECT_BY_MATRIX) {
+      if (((int) tpp) == TPP_SELECT_BY_MATRIX) {
         set_tag_propagation_policy(TPP_DONT);
         d_tag_prop_select = true;
       } else {



reply via email to

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