summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-04-07 14:06:14 (GMT)
committerGuido van Rossum <guido@python.org>1993-04-07 14:06:14 (GMT)
commit9575a4457559ed280bdd66e600fbd9f1b54d86d2 (patch)
tree3cc2134f011f7f4a4cf595c6ca8aa0bb2a437ed6 /Objects/intobject.c
parentf56e3db1dd4bedc9331933504f5008a03f5d3131 (diff)
downloadcpython-9575a4457559ed280bdd66e600fbd9f1b54d86d2.zip
cpython-9575a4457559ed280bdd66e600fbd9f1b54d86d2.tar.gz
cpython-9575a4457559ed280bdd66e600fbd9f1b54d86d2.tar.bz2
* Microscopic corrections to make things compile on the Cray APP.
* Removed one use of $> in Makefile and warned about others. Added configurable lines in Makefile to change CC and AR.
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r--Objects/intobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c
index 6806f0c..3021873 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -426,7 +426,7 @@ int_int(v)
intobject *v;
{
INCREF(v);
- return v;
+ return (object *)v;
}
static object *
@@ -512,5 +512,5 @@ typeobject Inttype = {
&int_as_number, /*tp_as_number*/
0, /*tp_as_sequence*/
0, /*tp_as_mapping*/
- &int_hash, /*tp_hash*/
+ int_hash, /*tp_hash*/
};