diff options
author | Tim O'Shea <tim.oshea753@gmail.com> | 2015-12-18 10:02:57 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2015-12-28 08:41:09 -0800 |
commit | 815a7cf32e7436876f14ad4a8f6b0b6e8bbaacf6 (patch) | |
tree | f53f76bb12baabd6f939bce37f073530ad85d646 /gr-blocks/lib/add_const_bb_impl.h | |
parent | 6dfb538932cb5079bc2a6778f05d9ad558ce8f4a (diff) |
blocks: resolve char sign ambiguity causing build breakage with several gcc versions
Diffstat (limited to 'gr-blocks/lib/add_const_bb_impl.h')
-rw-r--r-- | gr-blocks/lib/add_const_bb_impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/add_const_bb_impl.h b/gr-blocks/lib/add_const_bb_impl.h index 8bded0c19c..677569c45c 100644 --- a/gr-blocks/lib/add_const_bb_impl.h +++ b/gr-blocks/lib/add_const_bb_impl.h @@ -31,16 +31,16 @@ namespace gr { class BLOCKS_API add_const_bb_impl : public add_const_bb { private: - char d_k; + unsigned char d_k; public: - add_const_bb_impl(char k); + add_const_bb_impl(unsigned char k); ~add_const_bb_impl(); void setup_rpc(); - char k() const { return d_k; } - void set_k(char k) { d_k = k; } + unsigned char k() const { return d_k; } + void set_k(unsigned char k) { d_k = k; } int work(int noutput_items, gr_vector_const_void_star &input_items, |