Added a const to shut up a compiler warning.

This commit is contained in:
Jack Jansen 2001-06-20 21:21:07 +00:00
parent 4edc5eb639
commit 6b9289ff1a
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ my_dispose_handler(WEObjectReference objref)
}
static pascal OSErr
my_draw_handler(Rect *destRect, WEObjectReference objref)
my_draw_handler(const Rect *destRect, WEObjectReference objref)
{
PyObject *args=NULL, *rv=NULL;
OSErr err;

View file

@ -202,7 +202,7 @@ my_dispose_handler(WEObjectReference objref)
}
static pascal OSErr
my_draw_handler(Rect *destRect, WEObjectReference objref)
my_draw_handler(const Rect *destRect, WEObjectReference objref)
{
PyObject *args=NULL, *rv=NULL;
OSErr err;