Skip to content

Commit

Permalink
Update crates/mun_runtime_capi/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Wodann <Wodann@users.noreply.github.com>
  • Loading branch information
baszalmstra and Wodann committed May 13, 2020
1 parent c408396 commit 3e14715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/mun_runtime_capi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub unsafe extern "C" fn mun_runtime_create(

let runtime_options = runtime::RuntimeOptions {
library_path: library_path.into(),
delay: Duration::from_millis(delay_ms as u64),
delay: Duration::from_millis(delay_ms.into()),
user_functions,
};

Expand Down

0 comments on commit 3e14715

Please sign in to comment.