Commit 76dc081d authored by Neal Norwitz's avatar Neal Norwitz

strlen() returns a size_t, get rid of 64-bit warning

parent e93e64fb
......@@ -136,7 +136,7 @@ fill_file_fields(PyFileObject *f, FILE *fp, PyObject *name, char *mode,
static int
check_the_mode(char *mode)
{
unsigned int len = strlen(mode);
size_t len = strlen(mode);
switch (len) {
case 0:
......
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