commit | a52b244cc10a7644d86c4f09b761b3611a65378d | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Thu May 29 19:18:12 2008 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Thu May 29 19:18:12 2008 +0000 |
tree | 384920f6d68154d245f7caf5aed8f84fc7b85c75 | |
parent | 4f1b1ed975fe25170d00559e63f992c9bf8e9b8a [diff] |
Fix compiler warning.
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index cce986d..5b2a054 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c
@@ -477,7 +477,7 @@ static PyObject * CDataType_from_buffer_copy(PyObject *type, PyObject *args) { - void *buffer; + const void *buffer; Py_ssize_t buffer_len; Py_ssize_t offset = 0; PyObject *obj, *result;