mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Fix two compiler warnings on Win64.
This commit is contained in:
parent
4d0ebcc7fa
commit
6e8ea0fd9c
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue