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_source_impl.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'gr-blocks/lib/vector_source_impl.cc')

diff --git a/gr-blocks/lib/vector_source_impl.cc b/gr-blocks/lib/vector_source_impl.cc
index fd1ad16981..d49c37f5dd 100644
--- a/gr-blocks/lib/vector_source_impl.cc
+++ b/gr-blocks/lib/vector_source_impl.cc
@@ -36,7 +36,7 @@ namespace gr {
     template <class T>
     typename vector_source<T>::sptr
     vector_source<T>::make(const std::vector<T> &data,
-                 bool repeat, int vlen,
+                 bool repeat, unsigned int vlen,
                  const std::vector<tag_t> &tags)
     {
       return gnuradio::get_initial_sptr
@@ -45,7 +45,7 @@ namespace gr {
 
     template <class T>
     vector_source_impl<T> ::vector_source_impl(const std::vector<T> &data,
-                             bool repeat, int vlen,
+                             bool repeat, unsigned int vlen,
                              const std::vector<tag_t> &tags)
     : sync_block("vector_source",
                     io_signature::make(0, 0, 0),
-- 
cgit v1.2.3