Skip to content

Commit

Permalink
Fix inconsistent type error (#1427)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Jackson <chris@cd-jackson.com>
  • Loading branch information
cdjackson committed May 18, 2024
1 parent ad93c94 commit 03a9f59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private void readOtaFile() {

// The length dictates the length of the rest of the data within the sub-element in bytes. It does not
// include the size of the Tag ID or the Length Fields.
long tagLength = readUnsigned32();
int tagLength = readUnsigned32();
logger.debug("Reading OTA image tag {}[{}] ({} bytes long)", tagType, String.format("%04X", tagId),
tagLength);

Expand Down

0 comments on commit 03a9f59

Please sign in to comment.