librustzcash: Fix typo in Windows parameter init

This commit is contained in:
Jack Grigg 2019-08-23 12:01:01 +01:00
parent 4014f08105
commit 894421f3b5
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ pub extern "system" fn librustzcash_init_zksnark_params(
let sprout_path = if sprout_path.is_null() {
None
} else {
Some(OsStr::from_wide(unsafe {
Some(OsString::from_wide(unsafe {
slice::from_raw_parts(sprout_path, sprout_path_len)
}))
};