diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-10-18 05:06:06 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-10-18 05:06:06 (GMT) |
commit | 79665b1403c57f7a546227f74c8900e960012a6a (patch) | |
tree | d84e72683629e033ea8a252dcc95e92e67446ad0 /Modules | |
parent | d2ea4a258401dd97a5084398803ee8193f4f9c7a (diff) | |
download | cpython-79665b1403c57f7a546227f74c8900e960012a6a.zip cpython-79665b1403c57f7a546227f74c8900e960012a6a.tar.gz cpython-79665b1403c57f7a546227f74c8900e960012a6a.tar.bz2 |
newIobject(): repaired incorrect cast to quiet MSVC warning.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/cStringIO.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c index 03ef461..100891b 100644 --- a/Modules/cStringIO.c +++ b/Modules/cStringIO.c @@ -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); |