diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-06-20 21:21:07 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-06-20 21:21:07 (GMT) |
commit | 6b9289ff1a89158e7e54781ae540c721473dc5c5 (patch) | |
tree | bd1c529765a8364a4c83cfcd3dc31583788c9335 | |
parent | 4edc5eb6396fb962ed0827df5ab24cb3b8a7598f (diff) | |
download | cpython-6b9289ff1a89158e7e54781ae540c721473dc5c5.zip cpython-6b9289ff1a89158e7e54781ae540c721473dc5c5.tar.gz cpython-6b9289ff1a89158e7e54781ae540c721473dc5c5.tar.bz2 |
Added a const to shut up a compiler warning.
-rw-r--r-- | Mac/Modules/waste/wastemodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/waste/wastesupport.py | 2 |
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; |