mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Avoid compiler warnings about 'const char*'.
This commit is contained in:
parent
e61fd5b5ed
commit
67611a6e49
2 changed files with 2 additions and 2 deletions
|
@ -1637,7 +1637,7 @@ static struct fielddesc formattable[] = {
|
|||
*/
|
||||
|
||||
struct fielddesc *
|
||||
getentry(char *fmt)
|
||||
getentry(const char *fmt)
|
||||
{
|
||||
static int initialized = 0;
|
||||
struct fielddesc *table = formattable;
|
||||
|
|
|
@ -128,7 +128,7 @@ extern PyTypeObject SimpleType_Type;
|
|||
#define SimpleTypeObject_Check(v) PyObject_TypeCheck(v, &SimpleType_Type)
|
||||
|
||||
extern PyTypeObject CField_Type;
|
||||
extern struct fielddesc *getentry(char *fmt);
|
||||
extern struct fielddesc *getentry(const char *fmt);
|
||||
|
||||
|
||||
extern PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue