Fix compiler warning.

This commit is contained in:
Thomas Heller 2008-05-29 19:18:12 +00:00
parent 4f1b1ed975
commit a52b244cc1
1 changed files with 1 additions and 1 deletions

View File

@ -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;