From d7123f6e625711b4f689f7b23f1bc039f854fce1 Mon Sep 17 00:00:00 2001 From: Mark Meserve Date: Thu, 8 Mar 2018 16:11:59 -0600 Subject: mg: fix char printout of arm version --- mpm/lib/mykonos/ad937x_ctrl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mpm') 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 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) { -- cgit v1.2.3