From d257a0c3f11c0845d7eda1c2c78b2c32b5ec7c4c Mon Sep 17 00:00:00 2001 From: Sebastian Müller <senpo@posteo.de> Date: Sat, 20 Oct 2018 13:38:47 +0200 Subject: Change vector length variables to unsigned type --- gr-blocks/lib/vector_sink_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-blocks/lib/vector_sink_impl.h') diff --git a/gr-blocks/lib/vector_sink_impl.h b/gr-blocks/lib/vector_sink_impl.h index 23d177eea5..6e18e0b006 100644 --- a/gr-blocks/lib/vector_sink_impl.h +++ b/gr-blocks/lib/vector_sink_impl.h @@ -37,10 +37,10 @@ template<class T> std::vector<T> d_data; std::vector<tag_t> d_tags; mutable gr::thread::mutex d_data_mutex; // protects internal data access. - int d_vlen; + unsigned int d_vlen; public: - vector_sink_impl (int vlen, const int reserve_items); + vector_sink_impl (unsigned int vlen, const int reserve_items); ~vector_sink_impl (); void reset(); -- cgit v1.2.3