Skip to content

Commit

Permalink
Fix compiler type conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Oct 15, 2016
1 parent b5fe42d commit 8a376a0
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 @@ -3132,7 +3132,7 @@ int jl_args_morespecific_fix1(jl_value_t *a, jl_value_t *b, int swap)
if (changed) {
JL_GC_PUSH1(&newtta);
int ret;
if (type_eqv_(b, newtta))
if (type_eqv_(b, (jl_value_t*)newtta))
ret = swap;
else if (swap)
ret = jl_args_morespecific_(b, (jl_value_t*)newtta);
Expand Down

0 comments on commit 8a376a0

Please sign in to comment.