Skip to content

Commit e5cde51

Browse files
authored
Fix incorrect U32 usage in FprimeFrameDetector (#5016)
1 parent 1ac579a commit e5cde51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Svc/FrameAccumulator/FrameDetector/FprimeFrameDetector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ FrameDetector::Status FprimeFrameDetector::detect(const Types::CircularBuffer& d
9393
// Compute CRC over the transmitted data (header + body)
9494
FwSizeType hash_field_size = header.get_lengthField() + FprimeProtocol::FrameHeader::SERIALIZED_SIZE;
9595
hash.init();
96-
for (U32 i = 0; i < hash_field_size; i++) {
96+
for (FwSizeType i = 0; i < hash_field_size; i++) {
9797
U8 byte = 0;
9898
status = data.peek(byte, i);
9999
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);

0 commit comments

Comments
 (0)