source: issm/oecreview/Archive/23390-24306/ISSM-24200-24201.diff

Last change on this file was 24307, checked in by Mathieu Morlighem, 5 years ago

NEW: adding Archive/23390-24306

File size: 473 bytes
RevLine 
[24307]1Index: ../trunk-jpl/scripts/BinRead.py
2===================================================================
3--- ../trunk-jpl/scripts/BinRead.py (revision 24200)
4+++ ../trunk-jpl/scripts/BinRead.py (revision 24201)
5@@ -31,7 +31,7 @@
6
7 #Step 2: read the data itself.
8 #first read length of record
9- reclen=struct.unpack('i',f.read(struct.calcsize('i')))[0]
10+ reclen=struct.unpack('q',f.read(struct.calcsize('q')))[0]
11 if verbose>1:
12 print "reclen = %d" % reclen
13
Note: See TracBrowser for help on using the repository browser.