mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Shoould be Py_MIN, not Py_MAX.
This commit is contained in:
parent
1a1ff29659
commit
3584056ca5
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ Copyright (C) 1994 Steen Lumholt.
|
|||
#endif
|
||||
|
||||
#define CHECK_SIZE(size, elemsize) \
|
||||
((size_t)(size) <= Py_MAX((size_t)INT_MAX, UINT_MAX / (size_t)(elemsize)))
|
||||
((size_t)(size) <= Py_MIN((size_t)INT_MAX, UINT_MAX / (size_t)(elemsize)))
|
||||
|
||||
/* Starting with Tcl 8.4, many APIs offer const-correctness. Unfortunately,
|
||||
making _tkinter correct for this API means to break earlier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue