Skip to content

Commit

Permalink
Merge pull request #2 from neosilky/fix-panic
Browse files Browse the repository at this point in the history
Fix panic caused by trying to deal with parsing incorrect size int.
  • Loading branch information
potocpav authored Mar 24, 2017
2 parents 42ea9dd + dae461f commit 0980ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ mod parser {
tag!(&[0x93u8]) >>
tag!(b"NUMPY") >>
tag!(&[0x01u8, 0x00]) >>
hdr: length_value!(le_i16, item) >>
hdr: length_value!(le_u16, item) >>
(hdr)
)
);
Expand Down

0 comments on commit 0980ff3

Please sign in to comment.