mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Added a const to shut up a compiler warning.
This commit is contained in:
parent
4edc5eb639
commit
6b9289ff1a
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue