[Python-checkins] CVS: python/dist/src/Modules _curses_panel.c,1.6,1.7

Martin v. L?wis loewis@users.sourceforge.net
Sat, 13 Oct 2001 01:50:12 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv6847

Modified Files:
	_curses_panel.c 
Log Message:
Cast argument to set_panel_userptr to void*. Fixes bug #417240.


Index: _curses_panel.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_curses_panel.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** _curses_panel.c	2001/01/27 18:58:04	1.6
--- _curses_panel.c	2001/10/13 08:50:10	1.7
***************
*** 305,309 ****
      obj = PyTuple_GetItem(args, 0);
      Py_INCREF(obj);
!     return PyCursesCheckERR(set_panel_userptr(self->pan, obj),
                              "set_panel_userptr");
  }
--- 305,309 ----
      obj = PyTuple_GetItem(args, 0);
      Py_INCREF(obj);
!     return PyCursesCheckERR(set_panel_userptr(self->pan, (void*)obj),
                              "set_panel_userptr");
  }