Ticket #4142: urlarg.diff

File urlarg.diff, 408 bytes (added by spiv, 5 years ago)

Possible fix?

  • twisted/protocols/_c_urlarg.c

    === modified file 'twisted/protocols/_c_urlarg.c'
     
    2323 
    2424static PyObject* UrlargError; 
    2525 
    26 #define OUTPUTCHAR(c,n) PycStringIO->cwrite(output, c, n) 
     26#define OUTPUTCHAR(c,n) PycStringIO->cwrite(output, (const char *)c, n) 
    2727 
    2828#define STATE_INITIAL 0 
    2929#define STATE_PERCENT 1