Commit 67611a6e authored by Thomas Heller's avatar Thomas Heller

Avoid compiler warnings about 'const char*'.

parent e61fd5b5
......@@ -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 *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment