Fix two compiler warnings on Win64.
This commit is contained in:
parent
4d0ebcc7fa
commit
6e8ea0fd9c
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue