mirror of
https://github.com/python/cpython.git
synced 2025-07-21 02:05:20 +00:00
Removed redundant casts to char *
.
Corresponding functions now accept `const char *` (issue #1772673).
This commit is contained in:
parent
131caba074
commit
20b39b27d9
10 changed files with 17 additions and 18 deletions
|
@ -2064,7 +2064,7 @@ PyImport_AppendInittab(const char *name, PyObject* (*initfunc)(void))
|
|||
|
||||
memset(newtab, '\0', sizeof newtab);
|
||||
|
||||
newtab[0].name = (char *)name;
|
||||
newtab[0].name = name;
|
||||
newtab[0].initfunc = initfunc;
|
||||
|
||||
return PyImport_ExtendInittab(newtab);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue