Commit 2298474d authored by Zhukov, Alexander P's avatar Zhukov, Alexander P
Browse files

Swithced to Q type which is at least 8 bytes unseigned

parent 90ec7523
......@@ -240,7 +240,7 @@ def read_epilog(file):
file.seek(-4-OFST_SIZE*num_records,os.SEEK_END)
# the last record is EOF, and the very last offset has nothing
raw = array('L', file.read(OFST_SIZE*(num_records-2)))
raw = array('Q', file.read(OFST_SIZE*(num_records-2)))
raw.byteswap()
# print('Number of records: ', len(raw))
# print(raw.itemsize)
......
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