aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/ihex.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2016-11-08 08:41:46 -0800
committerMartin Braun <martin.braun@ettus.com>2016-11-08 08:41:46 -0800
commit9b852f5f243e5cf68662b7152b5fa331a83e55fb (patch)
tree159ffe0761f78dd87e2ecc97abea14494abab4ff /host/lib/utils/ihex.hpp
parentc66cb1bad0d881394f3519bd94f4693cceab4c64 (diff)
parent99c2730bc9db270560671f2d7d173768465ed51f (diff)
downloaduhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.gz
uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.tar.bz2
uhd-9b852f5f243e5cf68662b7152b5fa331a83e55fb.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/utils/ihex.hpp')
-rw-r--r--host/lib/utils/ihex.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/utils/ihex.hpp b/host/lib/utils/ihex.hpp
index 9df1fcbc3..8a8f84b15 100644
--- a/host/lib/utils/ihex.hpp
+++ b/host/lib/utils/ihex.hpp
@@ -20,7 +20,7 @@
#include <boost/bind.hpp>
#include <boost/function.hpp>
-#include <boost/cstdint.hpp>
+#include <stdint.h>
#include <string>
#include <vector>
@@ -30,7 +30,7 @@ class ihex_reader
{
public:
// Arguments are: lower address bits, upper address bits, buff, length
- typedef boost::function<int(boost::uint16_t,boost::uint16_t,unsigned char*,boost::uint16_t)> record_handle_type;
+ typedef boost::function<int(uint16_t,uint16_t,unsigned char*,uint16_t)> record_handle_type;
/*
* \param ihex_filename Path to the *.ihx file
@@ -67,7 +67,7 @@ public:
*
* \throws uhd::io_error if the HEX file is corrupted or unreadable.
*/
- std::vector<boost::uint8_t> to_vector(const size_t size_estimate = 0);
+ std::vector<uint8_t> to_vector(const size_t size_estimate = 0);
private:
const std::string _ihex_filename;