summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-06-20 21:21:07 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-06-20 21:21:07 (GMT)
commit6b9289ff1a89158e7e54781ae540c721473dc5c5 (patch)
treebd1c529765a8364a4c83cfcd3dc31583788c9335 /Mac/Modules
parent4edc5eb6396fb962ed0827df5ab24cb3b8a7598f (diff)
downloadcpython-6b9289ff1a89158e7e54781ae540c721473dc5c5.zip
cpython-6b9289ff1a89158e7e54781ae540c721473dc5c5.tar.gz
cpython-6b9289ff1a89158e7e54781ae540c721473dc5c5.tar.bz2
Added a const to shut up a compiler warning.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/waste/wastemodule.c2
-rw-r--r--Mac/Modules/waste/wastesupport.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/waste/wastemodule.c b/Mac/Modules/waste/wastemodule.c
index 0b2526a..d09641f 100644
--- a/Mac/Modules/waste/wastemodule.c
+++ b/Mac/Modules/waste/wastemodule.c
@@ -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;
diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py
index 7b2ff13..246c6c1 100644
--- a/Mac/Modules/waste/wastesupport.py
+++ b/Mac/Modules/waste/wastesupport.py
@@ -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;