Avoid compiler warnings about 'const char*'.
This commit is contained in:
parent
e61fd5b5ed
commit
67611a6e49
|
@ -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…
Reference in New Issue