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

@ -601,7 +601,7 @@ void Subsystem::transitionFailed(ReturnValue_t failureCode,
void Subsystem::sendSerializablesAsCommandMessage(Command_t command,
SerializeIF** elements, uint8_t count) {
ReturnValue_t result;
uint32_t maxSize = 0;
size_t maxSize = 0;
for (uint8_t i = 0; i < count; i++) {
maxSize += elements[i]->getSerializedSize();
}

View File

@ -49,7 +49,7 @@ public:
}
virtual uint32_t getSerializedSize() const {
virtual size_t getSerializedSize() const {
return sizeof(value1) + sizeof(value2) + sizeof(value3) + sizeof(value4);
}