Klaus Demo bjoern / 5e157b0
Fix incompatible pointer type warning "warning: initialization from incompatible pointer type" in GCC Patrick Lucas 8 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
117117 }
118118
119119 static int
120 on_path(http_parser* parser, char* path, size_t len)
121 {
122 if(!(len = unquote_url_inplace(path, len)))
120 on_path(http_parser* parser, const char* path, size_t len)
121 {
122 if(!(len = unquote_url_inplace((char*)path, len)))
123123 return 1;
124124 _set_header_free_value(_PATH_INFO, PyString_FromStringAndSize(path, len));
125125 return 0;