1
0
forked from fsfw/fsfw

replaced getSerializedSize returnvalue with size_t

This commit is contained in:
2020-04-05 21:54:11 +02:00
parent 7079c9c56d
commit 87852e5f2a
40 changed files with 44 additions and 44 deletions

View File

@ -17,7 +17,7 @@ ReturnValue_t LimitViolationReporter::sendLimitViolationReport(const SerializeIF
}
store_address_t storeId;
uint8_t* dataTarget = NULL;
uint32_t maxSize = data->getSerializedSize();
size_t maxSize = data->getSerializedSize();
if (maxSize > MonitoringIF::VIOLATION_REPORT_MAX_SIZE) {
return MonitoringIF::INVALID_SIZE;
}