Skip to content

Commit

Permalink
Fix Error on Ubuntu Arm (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 authored Nov 1, 2024
1 parent ab70eda commit ebd5de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/high_level.rs
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ pub fn spawn_cell(
let index = look_for_dep_with_hash2(code_hash, hash_type)?;
let argc = argv.len();
let mut process_id: u64 = 0;
let argv_ptr: Vec<*const i8> = argv.iter().map(|e| e.as_ptr()).collect();
let argv_ptr: Vec<*const i8> = argv.iter().map(|e| e.as_ptr() as *const i8).collect();
let mut spgs = syscalls::SpawnArgs {
argc: argc as u64,
argv: argv_ptr.as_ptr(),
Expand Down

0 comments on commit ebd5de9

Please sign in to comment.