mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Fix wanrings about unsigned hex constants.
This commit is contained in:
parent
1203403743
commit
820819c7ca
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ __all__ = ["Error","open","openfp"]
|
|||
class Error(Exception):
|
||||
pass
|
||||
|
||||
_AIFC_version = 0xA2805140 # Version 1 of AIFF-C
|
||||
_AIFC_version = 0xA2805140L # Version 1 of AIFF-C
|
||||
|
||||
_skiplist = 'COMT', 'INST', 'MIDI', 'AESD', \
|
||||
'APPL', 'NAME', 'AUTH', '(c) ', 'ANNO'
|
||||
|
@ -309,7 +309,7 @@ class Aifc_read:
|
|||
dummy = chunk.read(8)
|
||||
self._ssnd_seek_needed = 0
|
||||
elif chunkname == 'FVER':
|
||||
self._version = _read_long(chunk)
|
||||
self._version = _read_ulong(chunk)
|
||||
elif chunkname == 'MARK':
|
||||
self._readmark(chunk)
|
||||
elif chunkname in _skiplist:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue