diff options
Diffstat (limited to 'mpm')
-rw-r--r-- | mpm/lib/mykonos/ad937x_ctrl.cpp | 6 |
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) { |