Fix a compiler warning
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 3f91289..0032594 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -2538,7 +2538,7 @@
                 if (n > 0) {
                     arrayobject *self = (arrayobject *)a;
                     Py_UCS4 *item = (Py_UCS4 *)self->ob_item;
-                    item = (char *)PyMem_Realloc(item, n * sizeof(Py_UCS4));
+                    item = (Py_UCS4 *)PyMem_Realloc(item, n * sizeof(Py_UCS4));
                     if (item == NULL) {
                         PyErr_NoMemory();
                         Py_DECREF(a);