summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/math
diff options
context:
space:
mode:
authorJiří Pinkava <j-pi@seznam.cz>2015-03-24 02:43:10 +0100
committerJiří Pinkava <j-pi@seznam.cz>2015-03-29 13:14:24 +0200
commit5c56ab77b779257bc908e45d7d7e0ff790e9e28d (patch)
treecd16c2078dfabf5f764c0052513d3740a4c4bd99 /gnuradio-runtime/lib/math
parent3dcb5b95a4296ef5f6d61fe75dd06735ac5ea467 (diff)
do not use deprecated gr_int* types
Diffstat (limited to 'gnuradio-runtime/lib/math')
-rw-r--r--gnuradio-runtime/lib/math/qa_fxpt.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/math/qa_fxpt.cc b/gnuradio-runtime/lib/math/qa_fxpt.cc
index d368e7de82..070fb66ccf 100644
--- a/gnuradio-runtime/lib/math/qa_fxpt.cc
+++ b/gnuradio-runtime/lib/math/qa_fxpt.cc
@@ -51,9 +51,9 @@ qa_fxpt::t0()
* sometimes the answer is off by a few bits at the bottom.
* Hence, the disabled check.
*/
- CPPUNIT_ASSERT_EQUAL((gr_int32)0x40000000, gr::fxpt::float_to_fixed(M_PI/2));
- CPPUNIT_ASSERT_EQUAL((gr_int32)0, gr::fxpt::float_to_fixed(0));
- CPPUNIT_ASSERT_EQUAL((gr_int32)0x80000000, gr::fxpt::float_to_fixed(-M_PI));
+ CPPUNIT_ASSERT_EQUAL((int32_t)0x40000000, gr::fxpt::float_to_fixed(M_PI/2));
+ CPPUNIT_ASSERT_EQUAL((int32_t)0, gr::fxpt::float_to_fixed(0));
+ CPPUNIT_ASSERT_EQUAL((int32_t)0x80000000, gr::fxpt::float_to_fixed(-M_PI));
}
}