Imported Upstream version 3.0.4
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_kludge_copy.cc
index 571422055d51bfe145b40ce27b67c25f7876576b..2589322febef0e803d600401e6c86f13471b1e37 100644 (file)
@@ -6,7 +6,7 @@
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
+ * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
@@ -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)
 {
 }