[Python-checkins] CVS: python/dist/src/Modules mmapmodule.c,2.27,2.28
Tim Peters
tim_one@users.sourceforge.net
Fri, 20 Apr 2001 19:46:13 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv9515/python/dist/src/Modules
Modified Files:
mmapmodule.c
Log Message:
SF but #417587: compiler warnings compiling 2.1.
Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported.
Index: mmapmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mmapmodule.c,v
retrieving revision 2.27
retrieving revision 2.28
diff -C2 -r2.27 -r2.28
*** mmapmodule.c 2001/01/14 05:05:51 2.27
--- mmapmodule.c 2001/04/21 02:46:11 2.28
***************
*** 819,823 ****
prot, flags,
fd, 0);
! if (m_obj->data == (void *)-1)
{
Py_DECREF(m_obj);
--- 819,823 ----
prot, flags,
fd, 0);
! if (m_obj->data == (char *)-1)
{
Py_DECREF(m_obj);