diff --git a/devicehandlers/DeviceHandlerBase.cpp b/devicehandlers/DeviceHandlerBase.cpp index 0efdeba04..4fa7b09c0 100644 --- a/devicehandlers/DeviceHandlerBase.cpp +++ b/devicehandlers/DeviceHandlerBase.cpp @@ -1321,7 +1321,8 @@ void DeviceHandlerBase::buildInternalCommand(void) { } else if (iter->second.isExecuting) { #if FSFW_DISABLE_PRINTOUT == 0 char output[36]; - sprintf(output, "Command 0x%08x is executing", deviceCommandId); + sprintf(output, "Command 0x%08x is executing", + static_cast(deviceCommandId)); // so we can track misconfigurations printWarningOrError(fsfw::OutputTypes::OUT_WARNING, "buildInternalCommand",