Commit 34b47f31 authored by Tim Peters's avatar Tim Peters

C:\Code\python>type c.txt

Merge rev 52377 from trunk:

newIobject():  repaired incorrect cast to quiet MSVC warning.
parent 0f0e4ebd
......@@ -657,7 +657,7 @@ newIobject(PyObject *s) {
char *buf;
Py_ssize_t size;
if (PyObject_AsCharBuffer(s, (const void **)&buf, &size) != 0)
if (PyObject_AsCharBuffer(s, (const char **)&buf, &size) != 0)
return NULL;
self = PyObject_New(Iobject, &Itype);
......
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