@@ -1217,7 +1217,7 @@ static int get_method_unspec_list(jl_typemap_entry_t *def, void *closure)
1217
1217
for (i = 0 , l = jl_array_len (spec ); i < l ; i ++ ) {
1218
1218
jl_value_t * li = jl_cellref (spec , i );
1219
1219
if (jl_is_lambda_info (li ) && !((jl_lambda_info_t * )li )-> inferred )
1220
- jl_cell_1d_push (closure , li );
1220
+ jl_cell_1d_push (( jl_array_t * ) closure , li );
1221
1221
}
1222
1222
return 1 ;
1223
1223
}
@@ -2286,7 +2286,7 @@ static void jl_compile_all(void)
2286
2286
static int _precompile_enq_tfunc (jl_typemap_entry_t * l , void * closure )
2287
2287
{
2288
2288
if (jl_is_lambda_info (l -> func .value ) && !l -> func .linfo -> functionID )
2289
- jl_cell_1d_push (closure , (jl_value_t * )l -> func .linfo -> specTypes );
2289
+ jl_cell_1d_push (( jl_array_t * ) closure , (jl_value_t * )l -> func .linfo -> specTypes );
2290
2290
return 1 ;
2291
2291
}
2292
2292
@@ -2299,7 +2299,7 @@ static int _precompile_enq_spec(jl_typemap_entry_t *def, void *closure)
2299
2299
for (i = 0 , l = jl_array_len (spec ); i < l ; i ++ ) {
2300
2300
jl_value_t * li = jl_cellref (spec , i );
2301
2301
if (jl_is_lambda_info (li ) && !((jl_lambda_info_t * )li )-> functionID )
2302
- jl_cell_1d_push (closure , (jl_value_t * )((jl_lambda_info_t * )li )-> specTypes );
2302
+ jl_cell_1d_push (( jl_array_t * ) closure , (jl_value_t * )((jl_lambda_info_t * )li )-> specTypes );
2303
2303
}
2304
2304
jl_typemap_visitor (def -> func .method -> tfunc , _precompile_enq_tfunc , closure );
2305
2305
return 1 ;
0 commit comments