fixed output type
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Fri, 6 Mar 2009 00:23:21 +0000 (00:23 +0000)
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Fri, 6 Mar 2009 00:23:21 +0000 (00:23 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10563 221aa14e-8319-0410-a670-987f0aec2ac5

gr-msdd6000/src/msdd_source_simple.cc

index e180d1ab4b22a2b9da0021818bedaa4e5f42caaf..f0c09a970d91ddc5ee2f79d6408018df5e9cb663 100644 (file)
@@ -57,7 +57,7 @@ msdd_source_simple::work (int noutput_items,
        
 #define BUF_LEN        (MSDD_COMPLEX_SAMPLES_PER_PACKET*sizeof(short)*2 + 6)
 
-  float* out1 =(float*) output_items[0];
+  signed short* out1 =(signed short*) output_items[0];
 
   for(int i=0; i<floor(noutput_items*1.0/(2*MSDD_COMPLEX_SAMPLES_PER_PACKET));i++){
     char buffer[BUF_LEN];