X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-core%2Fsrc%2Flib%2Fruntime%2Fqa_gr_block.cc;h=ea3f3e14ce16363f5e2110f3e8d54557e546d156;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=de721e537a86f1e92a28f85199024ac7b3d95f46;hpb=09a1e803a9e6587c78d20cdf16891e5295874668;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/runtime/qa_gr_block.cc b/gnuradio-core/src/lib/runtime/qa_gr_block.cc index de721e53..ea3f3e14 100644 --- a/gnuradio-core/src/lib/runtime/qa_gr_block.cc +++ b/gnuradio-core/src/lib/runtime/qa_gr_block.cc @@ -25,7 +25,6 @@ #endif #include #include -#include #include #include #include @@ -43,7 +42,7 @@ qa_gr_block::t0 () CPPUNIT_ASSERT_EQUAL (0, src1->input_signature()->max_streams ()); CPPUNIT_ASSERT_EQUAL (1, src1->output_signature()->min_streams ()); CPPUNIT_ASSERT_EQUAL (1, src1->output_signature()->max_streams ()); - CPPUNIT_ASSERT_EQUAL (sizeof (int), + CPPUNIT_ASSERT_EQUAL ((int) sizeof(int), src1->output_signature()->sizeof_stream_item (0)); gr_block_sptr src2 (gr_make_null_source (sizeof (short))); @@ -51,7 +50,7 @@ qa_gr_block::t0 () CPPUNIT_ASSERT_EQUAL (0, src2->input_signature()->max_streams ()); CPPUNIT_ASSERT_EQUAL (1, src2->output_signature()->min_streams ()); CPPUNIT_ASSERT_EQUAL (1, src2->output_signature()->max_streams ()); - CPPUNIT_ASSERT_EQUAL (sizeof (short), + CPPUNIT_ASSERT_EQUAL ((int) sizeof (short), src2->output_signature()->sizeof_stream_item (0)); } @@ -64,7 +63,7 @@ qa_gr_block::t1 () CPPUNIT_ASSERT_EQUAL (std::string ("null_sink"), dst1->name ()); CPPUNIT_ASSERT_EQUAL (1, dst1->input_signature()->min_streams ()); CPPUNIT_ASSERT_EQUAL (1, dst1->input_signature()->max_streams ()); - CPPUNIT_ASSERT_EQUAL (sizeof (int), + CPPUNIT_ASSERT_EQUAL ((int) sizeof (int), dst1->input_signature()->sizeof_stream_item (0)); CPPUNIT_ASSERT_EQUAL (0, dst1->output_signature()->max_streams ()); @@ -73,7 +72,7 @@ qa_gr_block::t1 () CPPUNIT_ASSERT_EQUAL (std::string ("null_sink"), dst2->name ()); CPPUNIT_ASSERT_EQUAL (1, dst2->input_signature()->min_streams ()); CPPUNIT_ASSERT_EQUAL (1, dst2->input_signature()->max_streams ()); - CPPUNIT_ASSERT_EQUAL (sizeof (short), + CPPUNIT_ASSERT_EQUAL ((int) sizeof (short), dst2->input_signature()->sizeof_stream_item (0)); CPPUNIT_ASSERT_EQUAL (0, dst2->output_signature()->max_streams ()); }