diff options
Diffstat (limited to 'Lib/chunk.py')
-rw-r--r-- | Lib/chunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/chunk.py b/Lib/chunk.py index bda965f..a8fbc10 100644 --- a/Lib/chunk.py +++ b/Lib/chunk.py @@ -62,7 +62,7 @@ class Chunk: if len(self.chunkname) < 4: raise EOFError try: - self.chunksize = struct.unpack(strflag+'l', file.read(4))[0] + self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] except struct.error: raise EOFError if inclheader: |