[Python-checkins] r63791 - python/trunk/Modules/_ctypes/_ctypes.c
thomas.heller
python-checkins at python.org
Thu May 29 21:18:12 CEST 2008
Author: thomas.heller
Date: Thu May 29 21:18:12 2008
New Revision: 63791
Log:
Fix compiler warning.
Modified:
python/trunk/Modules/_ctypes/_ctypes.c
Modified: python/trunk/Modules/_ctypes/_ctypes.c
==============================================================================
--- python/trunk/Modules/_ctypes/_ctypes.c (original)
+++ python/trunk/Modules/_ctypes/_ctypes.c Thu May 29 21:18:12 2008
@@ -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;
More information about the Python-checkins
mailing list