summaryrefslogtreecommitdiff
path: root/Modules/clmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-01 11:34:53 +0000
committerGuido van Rossum <guido@python.org>1994-08-01 11:34:53 +0000
commit31bcad2a833517df724fc6ca8335190170174b8f (patch)
tree4467846eced619192a031837d76b2186f28a395f /Modules/clmodule.c
parentc660f7fcd25eb9d5c9ce72899c5f4a66141136d8 (diff)
downloadcpython-31bcad2a833517df724fc6ca8335190170174b8f.tar.gz
Merge alpha100 branch back to main trunk
Diffstat (limited to 'Modules/clmodule.c')
-rw-r--r--Modules/clmodule.c8
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 *