Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/manifest/manifest_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ int manifest_flash_read_header (struct manifest_flash *manifest, struct manifest
return MANIFEST_BAD_MAGIC_NUMBER;
}

if (header->sig_length > (header->length - sizeof (struct manifest_header))) {
if ((int)header->sig_length > (int)(header->length - sizeof (struct manifest_header))) {
return MANIFEST_BAD_LENGTH;
}

Expand Down