diff options
| author | Guido van Rossum <guido@python.org> | 1994-08-01 11:34:53 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1994-08-01 11:34:53 +0000 |
| commit | 31bcad2a833517df724fc6ca8335190170174b8f (patch) | |
| tree | 4467846eced619192a031837d76b2186f28a395f /Modules/clmodule.c | |
| parent | c660f7fcd25eb9d5c9ce72899c5f4a66141136d8 (diff) | |
| download | cpython-31bcad2a833517df724fc6ca8335190170174b8f.tar.gz | |
Merge alpha100 branch back to main trunk
Diffstat (limited to 'Modules/clmodule.c')
| -rw-r--r-- | Modules/clmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/clmodule.c b/Modules/clmodule.c index 63e81db470..75542d1ecb 100644 --- a/Modules/clmodule.c +++ b/Modules/clmodule.c @@ -1,5 +1,5 @@ /*********************************************************** -Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum, +Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. All Rights Reserved @@ -675,9 +675,9 @@ static typeobject Cltype = { sizeof(clobject), /*tp_size*/ 0, /*tp_itemsize*/ /* methods */ - cl_dealloc, /*tp_dealloc*/ + (destructor)cl_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ - cl_getattr, /*tp_getattr*/ + (getattrfunc)cl_getattr, /*tp_getattr*/ 0, /*tp_setattr*/ 0, /*tp_compare*/ 0, /*tp_repr*/ @@ -711,7 +711,7 @@ doOpen(object *self, object *args, int (*open_func)(int, CL_Handle *), err_setstr(ClError, "Open(De)Compressor failed"); return NULL; } - return new; + return (object *)new; } static object * |
