From 611b947130c798411cf46d057a7d8a617f09dd45 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Thu, 16 May 2019 16:32:14 -0400 Subject: [PATCH] Fix bug --- src/subtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subtype.c b/src/subtype.c index e979a91c426d5..483085a4c0e8f 100644 --- a/src/subtype.c +++ b/src/subtype.c @@ -917,7 +917,7 @@ static int subtype_tuple_varargs(struct subtype_tuple_env *env, jl_stenv_t *e, i // Vararg{T,N} <: Vararg{T2,N2}; equate N and N2 e->invdepth++; - JL_GC_PUSH2(xp1, yp1); + JL_GC_PUSH2(&xp1, &yp1); if (jl_is_long(xp1) && env->vx != 1) xp1 = jl_box_long(jl_unbox_long(xp1) - env->vx + 1); if (jl_is_long(yp1) && env->vy != 1)