summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Morman <jmorman@perspectalabs.com>2021-03-25 10:12:59 -0400
committermormj <34754695+mormj@users.noreply.github.com>2021-03-25 13:08:41 -0400
commit9a08594ae534c41d20e21187618de9ff3cc67336 (patch)
treee5df3b303ec95040350d0a8432c46d1af597aea0
parentaefc72a94ab4bcf85a671989c039737f0bcd2d06 (diff)
runtime: size_t for vmcircbuf constructor
Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
-rw-r--r--gnuradio-runtime/lib/vmcircbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/vmcircbuf.h b/gnuradio-runtime/lib/vmcircbuf.h
index 75fca25567..55de08b766 100644
--- a/gnuradio-runtime/lib/vmcircbuf.h
+++ b/gnuradio-runtime/lib/vmcircbuf.h
@@ -28,13 +28,13 @@ namespace gr {
class GR_RUNTIME_API vmcircbuf
{
protected:
- int d_size;
+ size_t d_size;
char* d_base;
logger_ptr d_logger;
logger_ptr d_debug_logger;
// CREATORS
- vmcircbuf(int size) : d_size(size), d_base(0)
+ vmcircbuf(size_t size) : d_size(size), d_base(0)
{
gr::configure_default_loggers(d_logger, d_debug_logger, "gr::vmcircbuf");
};