Commit 11534384 authored by Fredrik Lundh's avatar Fredrik Lundh

-- changed w_more to take an integer instead of a char

   (this is what the callers expect).
parent 1be46844
......@@ -55,7 +55,7 @@ typedef struct {
else w_more(c, p)
static void
w_more(char c, WFILE *p)
w_more(int c, WFILE *p)
{
int size, newsize;
if (p->str == NULL)
......@@ -69,7 +69,7 @@ w_more(char c, WFILE *p)
p->ptr = PyString_AS_STRING((PyStringObject *)p->str) + size;
p->end =
PyString_AS_STRING((PyStringObject *)p->str) + newsize;
*p->ptr++ = c;
*p->ptr++ = (char) c;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment