Changeset 24201


Ignore:
Timestamp:
10/03/19 10:29:08 (5 years ago)
Author:
Mathieu Morlighem
Message:

BUG: record length is now int64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/scripts/BinRead.py

    r24200 r24201  
    3232                #Step 2: read the data itself.
    3333                #first read length of record
    34                 reclen=struct.unpack('i',f.read(struct.calcsize('i')))[0]
     34                reclen=struct.unpack('q',f.read(struct.calcsize('q')))[0]
    3535                if verbose>1:
    3636                        print "reclen = %d" % reclen
Note: See TracChangeset for help on using the changeset viewer.