1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 10:00:48 +02:00

Fix type warning in log output

This commit is contained in:
Henning Kayser
2017-07-21 18:02:48 +02:00
parent d3637e9633
commit 75c3733eb7

View File

@@ -75,7 +75,7 @@ public:
if (!packet->parseWith(sbp))
{
LOG_ERROR("Sub-package parsing of type %d failed!", type);
LOG_ERROR("Sub-package parsing of type %d failed!", static_cast<int>(type));
return false;
}
@@ -83,7 +83,7 @@ public:
if (!sbp.empty())
{
LOG_ERROR("Sub-package of type %d was not parsed completely!", type);
LOG_ERROR("Sub-package of type %d was not parsed completely!", static_cast<int>(type));
sbp.debug();
return false;
}