projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63fa4ef
)
add explicit cast to avoid GCC warnings with -Wwrite-strings
author
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 7 Nov 2008 12:48:25 +0000
(09:48 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 7 Nov 2008 12:48:25 +0000
(09:48 -0300)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index f127e56dd2fb20fb0496eecadcca724c1326e1d8..10700cd2ed1cfb8b7fb807cfcfffcedab41e507e 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-5118,8
+5118,8
@@
impl = r"""
static int __Pyx_GetVtable(PyObject *dict, void *vtabptr) {
int result;
PyObject *pycobj;
-
- pycobj = PyMapping_GetItemString(dict, "__pyx_vtable__");
+
+ pycobj = PyMapping_GetItemString(dict,
(char *)
"__pyx_vtable__");
if (!pycobj)
goto bad;
*(void **)vtabptr = PyCObject_AsVoidPtr(pycobj);