From 57829faa64f004a48510e057742c4a9fb03a3726 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 8 Jan 2021 21:03:47 +0100 Subject: [PATCH] added cast --- devicehandlers/DeviceHandlerBase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devicehandlers/DeviceHandlerBase.cpp b/devicehandlers/DeviceHandlerBase.cpp index 0efdeba0..4fa7b09c 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",