diff options
author | krk <keremkat@gmail.com> | 2019-07-21 13:39:38 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-07-21 22:32:33 +0200 |
commit | ec9e1eba2a55c22a844047cfbe1342f12af45f9e (patch) | |
tree | 062c3ab1b286bc1ed825c935fce44ad0a6abfad4 /gr-blocks/lib | |
parent | cf03c9eeef3a664673d736d9a094bae3c1be27d1 (diff) |
Fix sign-compare warning in pdu_t_tagged_stream_impl.
Diffstat (limited to 'gr-blocks/lib')
-rw-r--r-- | gr-blocks/lib/pdu_to_tagged_stream_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/pdu_to_tagged_stream_impl.cc b/gr-blocks/lib/pdu_to_tagged_stream_impl.cc index 10232cd970..2169d1c33d 100644 --- a/gr-blocks/lib/pdu_to_tagged_stream_impl.cc +++ b/gr-blocks/lib/pdu_to_tagged_stream_impl.cc @@ -82,7 +82,7 @@ namespace gr { // work() should only be called if the current PDU fits entirely // into the output buffer. - assert(noutput_items >= d_curr_len); + assert(noutput_items >= 0 && (unsigned int) noutput_items >= d_curr_len); // Copy vector output size_t nout = d_curr_len; |