Commit 26d3143e authored by Alberto Ramos's avatar Alberto Ramos

Bug in reading long records

parent 5d6b2f9d
......@@ -464,7 +464,8 @@ function BDIO_parse!(fb::BDIOstream)
if islong
rpos = position(fb.io) + 4
ihdr2 = read(fb.io, Int32)
rlen = ihdr>>>12 | ihdr2<<32
jlong = convert(Int64, ihdr2)
rlen = ihdr>>>12 | jlong<<32
else
rpos = position(fb.io)
rlen = ihdr>>>12
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment