diff options
Diffstat (limited to 'gnuradio-runtime/lib/circular_file.cc')
-rw-r--r-- | gnuradio-runtime/lib/circular_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/circular_file.cc b/gnuradio-runtime/lib/circular_file.cc index 4d7d06082a..9cef419426 100644 --- a/gnuradio-runtime/lib/circular_file.cc +++ b/gnuradio-runtime/lib/circular_file.cc @@ -184,7 +184,7 @@ namespace gr { int buffer_current = d_header[HD_BUFFER_CURRENT]; int buffer_size = d_header[HD_BUFFER_SIZE]; int total = 0; - + nbytes = std::min(nbytes, buffer_size - d_bytes_read); while(nbytes > 0) { |