mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Silenced some warnings about comparison between signed and unsigned integer
expressions.
This commit is contained in:
parent
2ee44f7f55
commit
67c719b34b
4 changed files with 12 additions and 10 deletions
|
|
@ -70,8 +70,8 @@ fancy_roundup(int n)
|
|||
* Note that this would be straightforward if a node stored its current
|
||||
* capacity. The code is tricky to avoid that.
|
||||
*/
|
||||
#define XXXROUNDUP(n) ((n) <= 1 ? (n) : \
|
||||
(n) <= 128 ? _Py_SIZE_ROUND_UP((n), 4) : \
|
||||
#define XXXROUNDUP(n) ((n) <= 1 ? (n) : \
|
||||
(n) <= 128 ? (int)_Py_SIZE_ROUND_UP((n), 4) : \
|
||||
fancy_roundup(n))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue