Skip to content

Commit

Permalink
Merge pull request #45 from TheBlueMatt/master
Browse files Browse the repository at this point in the history
Fix argument to copy_nonoverlapping in internal_macros
  • Loading branch information
apoelstra committed Feb 14, 2018
2 parents 01e1640 + 9052f3b commit deda031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal_macros.rs
Expand Up @@ -88,7 +88,7 @@ macro_rules! impl_array_newtype {
let mut ret: $thing = mem::uninitialized();
copy_nonoverlapping(data.as_ptr(),
ret.as_mut_ptr(),
mem::size_of::<$thing>());
$len);
ret
}
}
Expand Down

0 comments on commit deda031

Please sign in to comment.