[Python-checkins] CVS: python/dist/src/Objects methodobject.c,2.28,2.29
Guido van Rossum
python-dev@python.org
Fri, 30 Jun 2000 15:46:07 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv29930
Modified Files:
methodobject.c
Log Message:
Fix an error on AIX by using a proper cast.
Index: methodobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/methodobject.c,v
retrieving revision 2.28
retrieving revision 2.29
diff -C2 -r2.28 -r2.29
*** methodobject.c 2000/06/30 15:01:00 2.28
--- methodobject.c 2000/06/30 22:46:04 2.29
***************
*** 181,185 ****
return -1;
}
! y = _Py_HashPointer(a->m_ml->ml_meth);
if (y == -1)
return -1;
--- 181,185 ----
return -1;
}
! y = _Py_HashPointer((void*)(a->m_ml->ml_meth));
if (y == -1)
return -1;