summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-04-06 13:24:57 (GMT)
committerGuido van Rossum <guido@python.org>1992-04-06 13:24:57 (GMT)
commit5b7313a982e209fdb9ac0d4531dbd56e1fd0c7ff (patch)
treede05d890d0780f07b88a58ece3ec154f1a1efce9 /Python
parent02334d2be0207caf2feaec2e5577e5b762efac48 (diff)
downloadcpython-5b7313a982e209fdb9ac0d4531dbd56e1fd0c7ff.zip
cpython-5b7313a982e209fdb9ac0d4531dbd56e1fd0c7ff.tar.gz
cpython-5b7313a982e209fdb9ac0d4531dbd56e1fd0c7ff.tar.bz2
Arg of cmp_outcome becomes an int for portability to the Mac
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index f83efe0..57dc3e1 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -74,7 +74,7 @@ static int assign_subscript PROTO((object *, object *, object *));
static int assign_slice PROTO((object *, object *, object *, object *));
static int cmp_exception PROTO((object *, object *));
static int cmp_member PROTO((object *, object *));
-static object *cmp_outcome PROTO((enum cmp_op, object *, object *));
+static object *cmp_outcome PROTO((int, object *, object *));
static int import_from PROTO((object *, object *, object *));
static object *build_class PROTO((object *, object *));
@@ -928,7 +928,7 @@ eval_code(co, globals, locals, arg)
case COMPARE_OP:
w = POP();
v = POP();
- x = cmp_outcome((enum cmp_op)oparg, v, w);
+ x = cmp_outcome(oparg, v, w);
DECREF(v);
DECREF(w);
PUSH(x);
@@ -1892,7 +1892,7 @@ cmp_member(v, w)
static object *
cmp_outcome(op, v, w)
- enum cmp_op op;
+ int op;
register object *v;
register object *w;
{