From: Guido van Rossum Date: Mon, 6 Apr 1992 13:24:57 +0000 (+0000) Subject: Arg of cmp_outcome becomes an int for portability to the Mac X-Git-Tag: v0.9.8~381 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b7313a982e209fdb9ac0d4531dbd56e1fd0c7ff;p=thirdparty%2FPython%2Fcpython.git Arg of cmp_outcome becomes an int for portability to the Mac --- diff --git a/Python/ceval.c b/Python/ceval.c index f83efe03223f..57dc3e147fb9 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; {