aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/mykonos
diff options
context:
space:
mode:
authorMark Meserve <mark.meserve@ni.com>2018-03-08 16:11:59 -0600
committerMartin Braun <martin.braun@ettus.com>2018-03-08 14:50:15 -0800
commitd7123f6e625711b4f689f7b23f1bc039f854fce1 (patch)
tree45fa03ec46847858f28afbbe9e2f2458d339f39c /mpm/lib/mykonos
parent37e49f56b1ff9f2e0fd5f8987538b7589b6cc68a (diff)
downloaduhd-d7123f6e625711b4f689f7b23f1bc039f854fce1.tar.gz
uhd-d7123f6e625711b4f689f7b23f1bc039f854fce1.tar.bz2
uhd-d7123f6e625711b4f689f7b23f1bc039f854fce1.zip
mg: fix char printout of arm version
Diffstat (limited to 'mpm/lib/mykonos')
-rw-r--r--mpm/lib/mykonos/ad937x_ctrl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mpm/lib/mykonos/ad937x_ctrl.cpp b/mpm/lib/mykonos/ad937x_ctrl.cpp
index 65f516501..efb39c972 100644
--- a/mpm/lib/mykonos/ad937x_ctrl.cpp
+++ b/mpm/lib/mykonos/ad937x_ctrl.cpp
@@ -341,9 +341,9 @@ public:
std::lock_guard<std::mutex> lock(*spi_mutex);
const auto arm = device.get_arm_version();
std::ostringstream ss;
- ss << arm.major_ver << "."
- << arm.minor_ver << "."
- << arm.rc_ver;
+ ss << (int)(arm.major_ver) << "."
+ << (int)(arm.minor_ver) << "."
+ << (int)(arm.rc_ver);
switch (arm.build_type)
{