Skip to content

Commit 75cff03

Browse files
committed
fix compiler warning
1 parent b3ff2cd commit 75cff03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jltypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ jl_tuple_t *jl_compute_type_union(jl_tuple_t *types)
266266
}
267267
}
268268
jl_tuple_t *result = jl_alloc_tuple_uninit(n - ndel);
269-
temp[n] = result; // root result tuple while sorting
269+
temp[n] = (jl_value_t*)result; // root result tuple while sorting
270270
j=0;
271271
for(i=0; i < n; i++) {
272272
if (temp[i] != NULL) {

0 commit comments

Comments
 (0)