Skip to content

Commit

Permalink
Fix a compiler warning
Browse files Browse the repository at this point in the history
(cherry picked from commit 89ec851)
  • Loading branch information
fingolfin authored and staticfloat committed Dec 22, 2022
1 parent ad2ab1d commit 28061f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ static jl_method_instance_t *cache_method(
// In most cases `!jl_isa_compileable_sig(tt, definition))`,
// although for some cases, (notably Varargs)
// we might choose a replacement type that's preferable but not strictly better
cache_with_orig = !jl_subtype(compilationsig, definition->sig);
cache_with_orig = !jl_subtype((jl_value_t*)compilationsig, definition->sig);
}
// TODO: maybe assert(jl_isa_compileable_sig(compilationsig, definition));
newmeth = jl_specializations_get_linfo(definition, (jl_value_t*)compilationsig, sparams);
Expand Down

0 comments on commit 28061f3

Please sign in to comment.