[Python-checkins] python/dist/src/Lib aifc.py,1.41,1.42

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Mon, 12 Aug 2002 15:11:30 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv25252

Modified Files:
	aifc.py 
Log Message:
Fix wanrings about unsigned hex constants.


Index: aifc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/aifc.py,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** aifc.py	11 Feb 2002 17:56:27 -0000	1.41
--- aifc.py	12 Aug 2002 22:11:28 -0000	1.42
***************
*** 143,147 ****
      pass
  
! _AIFC_version = 0xA2805140      # Version 1 of AIFF-C
  
  _skiplist = 'COMT', 'INST', 'MIDI', 'AESD', \
--- 143,147 ----
      pass
  
! _AIFC_version = 0xA2805140L     # Version 1 of AIFF-C
  
  _skiplist = 'COMT', 'INST', 'MIDI', 'AESD', \
***************
*** 310,314 ****
                  self._ssnd_seek_needed = 0
              elif chunkname == 'FVER':
!                 self._version = _read_long(chunk)
              elif chunkname == 'MARK':
                  self._readmark(chunk)
--- 310,314 ----
                  self._ssnd_seek_needed = 0
              elif chunkname == 'FVER':
!                 self._version = _read_ulong(chunk)
              elif chunkname == 'MARK':
                  self._readmark(chunk)