Skip to content

Commit

Permalink
Merge pull request #39227 from fingolfin/mh/fix-warning
Browse files Browse the repository at this point in the history
Fix a compiler warning
  • Loading branch information
vchuravy authored Jan 13, 2021
2 parents 748841f + 89ec851 commit 463819b
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 @@ -1030,7 +1030,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 463819b

Please sign in to comment.