[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/07: head block nitems setter now takes u
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/07: head block nitems setter now takes uint64_t instead of 'int' allowing values greater than 2^31 to be set |
Date: |
Thu, 31 Mar 2016 05:49:51 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit f56d43627b0027adff8ec1f939ef967c8d2078ae
Author: Jacob Gilbert <address@hidden>
Date: Tue Mar 29 05:56:02 2016 -0700
head block nitems setter now takes uint64_t instead of 'int' allowing
values greater than 2^31 to be set
---
gr-blocks/include/gnuradio/blocks/head.h | 2 +-
gr-blocks/lib/head_impl.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gr-blocks/include/gnuradio/blocks/head.h
b/gr-blocks/include/gnuradio/blocks/head.h
index 24772a4..a41137c 100644
--- a/gr-blocks/include/gnuradio/blocks/head.h
+++ b/gr-blocks/include/gnuradio/blocks/head.h
@@ -47,7 +47,7 @@ namespace gr {
uint64_t nitems);
virtual void reset() = 0;
- virtual void set_length(int nitems) = 0;
+ virtual void set_length(uint64_t nitems) = 0;
};
} /* namespace blocks */
diff --git a/gr-blocks/lib/head_impl.h b/gr-blocks/lib/head_impl.h
index fe2918c..4a2c338 100644
--- a/gr-blocks/lib/head_impl.h
+++ b/gr-blocks/lib/head_impl.h
@@ -39,7 +39,7 @@ namespace gr {
~head_impl();
void reset() { d_ncopied_items = 0; }
- void set_length(int nitems) { d_nitems = nitems; }
+ void set_length(uint64_t nitems) { d_nitems = nitems; }
int work(int noutput_items,
gr_vector_const_void_star &input_items,
- [Commit-gnuradio] [gnuradio] branch maint updated (8350ee9 -> 0341203), git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 05/07: Merge remote-tracking branch 'nowls/fix_corr_access_code' into maint, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 01/07: digital: fix access code mask in correlate_access_code_XX_ts, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 04/07: volk: update submodule pointer to latest, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 07/07: Merge remote-tracking branch 'jgilbert/template_expansion' into maint, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 06/07: Merge remote-tracking branch 'jgilbert/head_nitems_fix' into maint, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 03/07: Updated gr_modtool CMake files to properly handle template expansion. Previously template expansion failed due to incorrectly configured python paths, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 02/07: head block nitems setter now takes uint64_t instead of 'int' allowing values greater than 2^31 to be set,
git <=