Commit 6e8ea0fd authored by Thomas Heller's avatar Thomas Heller

Fix two compiler warnings on Win64.

parent 4d0ebcc7
......@@ -1477,7 +1477,7 @@ SimpleType_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
StgDictObject *stgdict;
PyObject *proto;
const char *proto_str;
int proto_len;
Py_ssize_t proto_len;
PyMethodDef *ml;
struct fielddesc *fmt;
......
......@@ -163,7 +163,7 @@ ffi_status ffi_prep_cif(/*@out@*/ /*@partial@*/ ffi_cif *cif,
bytes = ALIGN(bytes, (*ptr)->alignment);
#endif
bytes += STACK_ARG_SIZE((*ptr)->size);
bytes += (unsigned)STACK_ARG_SIZE((*ptr)->size);
}
#endif
}
......
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