[3.11] gh-114388: Fix warnings when assign an unsigned integer member (GH-114391) (GH-115002)
* Fix a RuntimeWarning emitted when assign an integer-like value that is not an instance of int to an attribute that corresponds to a C struct member of type T_UINT and T_ULONG. * Fix a double RuntimeWarning emitted when assign a negative integer value to an attribute that corresponds to a C struct member of type T_UINT. (cherry picked from commit 3ddc5152550ea62280124c37d0b4339030ff7df4)
S
Serhiy Storchaka committed
0244e96d107833da7b91e0ec5d4c79109e4624ed
Parent: f18341f
Committed by GitHub <noreply@github.com>
on 2/4/2024, 5:54:26 PM