merge 3.3 (#17228)
diff --git a/Misc/NEWS b/Misc/NEWS
index ac29b18..8d935c6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -940,6 +940,8 @@
 Build
 -----
 
+- Issue #17228: Fix building without pymalloc.
+
 - Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
 
 - Issue #16235: Implement python-config as a shell script.
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index bbe2805..5943f5a 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -1763,7 +1763,7 @@
     k = 3;
     do {
         size_t nextvalue = value / 10;
-        uint digit = (uint)(value - nextvalue * 10);
+        unsigned int digit = (unsigned int)(value - nextvalue * 10);
         value = nextvalue;
         buf[i--] = (char)(digit + '0');
         --k;