Skip to content

Commit

Permalink
Also remove the problematic pointer case
Browse files Browse the repository at this point in the history
(cherry picked from commit b794bf9)
  • Loading branch information
Keno authored and tkelman committed Dec 3, 2015
1 parent 9f8ec24 commit 74dcb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jltypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ static jl_value_t *jl_type_intersect(jl_value_t *a, jl_value_t *b,
if (eqc->data[i] == lenvar) {
jl_value_t *v = eqc->data[i+1];
// N is already known in NTuple{N,...}
if (jl_get_size(v, (size_t *)&alen)) break;
if (jl_get_size(v, &alen)) break;
}
}
b = (jl_value_t*)jl_tupletype_fill(alen, elty);
Expand Down

0 comments on commit 74dcb33

Please sign in to comment.