added cast

This commit is contained in:
Robin Müller 2021-01-08 21:03:47 +01:00
parent 12091ca6ab
commit 57829faa64
1 changed files with 2 additions and 1 deletions

View File

@ -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<unsigned int>(deviceCommandId));
// so we can track misconfigurations
printWarningOrError(fsfw::OutputTypes::OUT_WARNING,
"buildInternalCommand",