summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authornldudok12007-06-25 22:01:52 +0000
committernldudok12007-06-25 22:01:52 +0000
commiteea0c49c9d4dab6864cb5ba6feccde292c8be4a2 (patch)
tree4929fc6257cd3db18389da1294677972e28aaf6c /gnuradio-core/src
parent5688cb1e638fdb25f8d7dd5c2d9bc8ae5e46cfa4 (diff)
downloadgnuradio-eea0c49c9d4dab6864cb5ba6feccde292c8be4a2.tar.gz
gnuradio-eea0c49c9d4dab6864cb5ba6feccde292c8be4a2.tar.bz2
gnuradio-eea0c49c9d4dab6864cb5ba6feccde292c8be4a2.zip
bugfix: itemsize was not respected, sizeof(float) was allways used
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5831 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r--gnuradio-core/src/lib/general/gr_kludge_copy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/general/gr_kludge_copy.cc b/gnuradio-core/src/lib/general/gr_kludge_copy.cc
index 571422055..811516982 100644
--- a/gnuradio-core/src/lib/general/gr_kludge_copy.cc
+++ b/gnuradio-core/src/lib/general/gr_kludge_copy.cc
@@ -36,8 +36,8 @@ gr_make_kludge_copy(size_t itemsize)
gr_kludge_copy::gr_kludge_copy(size_t itemsize)
: gr_sync_block ("kludge_copy",
- gr_make_io_signature (1, -1, sizeof (float)),
- gr_make_io_signature (1, -1, sizeof (float))),
+ gr_make_io_signature (1, -1, itemsize),
+ gr_make_io_signature (1, -1, itemsize)),
d_itemsize(itemsize)
{
}