SIGN IN SIGN UP

[3.12] gh-114388: Fix warnings when assign an unsigned integer member (GH-114391) (GH-115001)

* 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
b9937a6f22d3a3b555ec34321acfac189e79a842
Parent: 4548ae7
Committed by GitHub <noreply@github.com> on 2/4/2024, 5:21:05 PM