Ticket #14745: patch-pyid3lib.py.diff

File patch-pyid3lib.py.diff, 773 bytes (added by waterson@…, 17 years ago)

patch-pyid3lib.py.diff

  • pyid3lib.cc

    old new  
    8080
    8181
    8282static PySequenceMethods tag_as_sequence = {
    83     (inquiry)id3_length,
     83    (lenfunc)id3_length,
    8484    NULL,
    8585    NULL,
    86     (intargfunc)id3_item,
    87     (intintargfunc)id3_slice,
    88     (intobjargproc)id3_ass_item,
    89     (intintobjargproc)id3_ass_slice,
     86    (ssizeargfunc)id3_item,
     87    (ssizessizeargfunc)id3_slice,
     88    (ssizeobjargproc)id3_ass_item,
     89    (ssizessizeobjargproc)id3_ass_slice,
    9090    (objobjproc)id3_contains,
    9191    NULL,
    9292    NULL,
     
    824824static ID3_Frame* frame_from_dict( ID3_FrameID fid, PyObject* dict )
    825825{
    826826    char* data;
    827     int size;
     827    Py_ssize_t size;
    828828   
    829829    ID3_Field* field;
    830830    ID3_FieldID flid;