From de33c62466c688d0769744a7503d8e969bce5741 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 7 Feb 2007 23:49:03 +0000 Subject: Silence compiler warning --- Objects/abstract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/abstract.c b/Objects/abstract.c index 7462c58..f7a3bfe 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -1157,7 +1157,7 @@ PySequence_Check(PyObject *s) { if (s && PyInstance_Check(s)) return PyObject_HasAttrString(s, "__getitem__"); - if (PyObject_IsInstance(s, &PyDict_Type)) + if (PyObject_IsInstance(s, (PyObject *)&PyDict_Type)) return 0; return s != NULL && s->ob_type->tp_as_sequence && s->ob_type->tp_as_sequence->sq_item != NULL; -- cgit v0.12