Ticket #229: diff-pysyck-64bit.patch

File diff-pysyck-64bit.patch, 496 bytes (added by Kuang-che Wu <kcwu@…>, 2 years ago)
  • ext/_syckmodule.c

    old new  
    16001600    int j, k, l; 
    16011601    char *str; 
    16021602    int len; 
    1603     int dict_pos; 
     1603    Py_ssize_t dict_pos; 
    16041604 
    16051605    if (self->halt) return; 
    16061606 
     
    18401840    PySyckNodeObject *node; 
    18411841    PyObject *item, *key, *value, *pair; 
    18421842    PyObject *index; 
    1843     int dict_pos; 
     1843    Py_ssize_t dict_pos; 
    18441844 
    18451845    last = 0; 
    18461846    syck_emitter_mark_node(self->emitter, last);