Kaydet (Commit) 231e22fa authored tarafından Tim Peters's avatar Tim Peters

Repair legit compiler warning.

üst b1cbc1e3
......@@ -34,7 +34,7 @@ new_weakref(void)
result = free_list;
free_list = result->wr_next;
result->ob_type = &PyWeakReference_Type;
_Py_NewReference(result);
_Py_NewReference((PyObject *)result);
}
else {
result = PyObject_NEW(PyWeakReference, &PyWeakReference_Type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment