diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-07 02:09:15 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-07 02:09:15 (GMT) |
commit | a439191efa9fee12ea3c17b23b0d3f748ff76997 (patch) | |
tree | 3641ca9e731f7247521e8d8b18329d952994e354 /Modules/_ctypes | |
parent | 35b40c65f6a4d902d7dbff21a02e4d211b0952b1 (diff) | |
download | cpython-a439191efa9fee12ea3c17b23b0d3f748ff76997.zip cpython-a439191efa9fee12ea3c17b23b0d3f748ff76997.tar.gz cpython-a439191efa9fee12ea3c17b23b0d3f748ff76997.tar.bz2 |
Fix some warnings from MSVC
Diffstat (limited to 'Modules/_ctypes')
-rw-r--r-- | Modules/_ctypes/_ctypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index 98433e1..f840729 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -3067,7 +3067,7 @@ static PyGetSetDef PyCFuncPtr_getsets[] = { }; #ifdef MS_WIN32 -static PPROC FindAddress(void *handle, char *name, PyObject *type) +static PPROC FindAddress(void *handle, const char *name, PyObject *type) { #ifdef MS_WIN64 /* win64 has no stdcall calling conv, so it should |