Commit 510a6627 authored by Thomas Heller's avatar Thomas Heller

Fix two compiler warnings on Win64.

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