From a52b244cc10a7644d86c4f09b761b3611a65378d Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Thu, 29 May 2008 19:18:12 +0000 Subject: Fix compiler warning. --- Modules/_ctypes/_ctypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ GenericCData_new(PyTypeObject *type, PyObject *args, PyObject *kwds); 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; -- cgit v0.12