Skip to content

Commit 4ca706b

Browse files
committed
made SignedByte cast to Signed
1 parent feefadd commit 4ca706b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ifd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ async fn read_tag_value(
949949
Type::SBYTE => {
950950
let mut v = Vec::with_capacity(count as _);
951951
for _ in 0..count {
952-
v.push(Value::SignedByte(data.read_i8()?));
952+
v.push(Value::Signed(data.read_i8()? as i32));
953953
}
954954
Ok(Value::List(v))
955955
}

0 commit comments

Comments
 (0)