Skip to content

Commit 03a9f59

Browse files
authored
Fix inconsistent type error (#1427)
Signed-off-by: Chris Jackson <[email protected]>
1 parent ad93c94 commit 03a9f59

File tree

1 file changed

+1
-1
lines changed
  • com.zsmartsystems.zigbee/src/main/java/com/zsmartsystems/zigbee/app/otaserver

1 file changed

+1
-1
lines changed

com.zsmartsystems.zigbee/src/main/java/com/zsmartsystems/zigbee/app/otaserver/ZigBeeOtaFile.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private void readOtaFile() {
280280

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

0 commit comments

Comments
 (0)