Skip to content

Commit

Permalink
appease new warning: rust-lang/rust#46906
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed Jan 14, 2018
1 parent 94c53e9 commit 5df4380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/private/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1565,10 +1565,10 @@ mod wire_helpers {
(*reff).set_list_size_and_count(Pointer, value.element_count);
for i in 0.. value.element_count as isize {
try!(copy_pointer(arena, segment_id, cap_table,
(ptr as *mut _).offset(i),
(ptr as *mut WirePointer).offset(i),
value.arena,
value.segment_id, value.cap_table,
(value.ptr as *const _).offset(i),
(value.ptr as *const WirePointer).offset(i),
value.nesting_limit,
canonicalize));
}
Expand Down

0 comments on commit 5df4380

Please sign in to comment.