summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2012-02-07 22:17:28 -0500
committerTom Rondeau2012-02-13 14:57:27 -0500
commit5a07519b2685fabab3e75380657a53d2161dc1a2 (patch)
tree49abd89b13402554d4b8c784e3c7fdf64595201e
parent786058aacbe0ca662e14ea5f00f1c0872a599577 (diff)
downloadgnuradio-5a07519b2685fabab3e75380657a53d2161dc1a2.tar.gz
gnuradio-5a07519b2685fabab3e75380657a53d2161dc1a2.tar.bz2
gnuradio-5a07519b2685fabab3e75380657a53d2161dc1a2.zip
core: fixed alignment call for char_to_short.
-rw-r--r--gnuradio-core/src/lib/general/gr_char_to_short.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_char_to_short.cc b/gnuradio-core/src/lib/general/gr_char_to_short.cc
index 40ffa9338..13375412c 100644
--- a/gnuradio-core/src/lib/general/gr_char_to_short.cc
+++ b/gnuradio-core/src/lib/general/gr_char_to_short.cc
@@ -41,7 +41,7 @@ gr_char_to_short::gr_char_to_short (size_t vlen)
d_vlen(vlen)
{
const int alignment_multiple =
- volk_get_alignment() / sizeof(float);
+ volk_get_alignment() / sizeof(short);
set_alignment(alignment_multiple);
}