avoid casting with this nice macro
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 1d0e97b..db9f706 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7358,8 +7358,7 @@
 
     if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
         PyObject *v;
-        if (((PyUnicodeObject *) left)->length !=
-            ((PyUnicodeObject *) right)->length) {
+        if (PyUnicode_GET_SIZE(left) != PyUnicode_GET_SIZE(right)) {
             if (op == Py_EQ) {
                 Py_INCREF(Py_False);
                 return Py_False;