summaryrefslogtreecommitdiffstats
path: root/Lib/aifc.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-12 22:11:28 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-12 22:11:28 (GMT)
commit820819c7ca74d09f5115f52cf377aead50eeeac7 (patch)
tree9baba6fdcd3b60273a93145123a45169678a6d86 /Lib/aifc.py
parent120340374383e4f246fe71e7013a7711104bb8a9 (diff)
downloadcpython-820819c7ca74d09f5115f52cf377aead50eeeac7.zip
cpython-820819c7ca74d09f5115f52cf377aead50eeeac7.tar.gz
cpython-820819c7ca74d09f5115f52cf377aead50eeeac7.tar.bz2
Fix wanrings about unsigned hex constants.
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r--Lib/aifc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py
index 0b21c2b..0275e42 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -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: