Skip to content

Commit

Permalink
trying to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Xoffio committed Dec 18, 2024
1 parent 64c7e79 commit 616a89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frida-gum/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ impl<'a> Process<'a> {
}

/// Get this thread’s OS-specific id as a number
pub fn get_current_thread_id(&self) -> u64 {
unsafe { gum_sys::gum_process_get_current_thread_id() }
pub fn get_current_thread_id(&self) -> u32 {
unsafe { gum_sys::gum_process_get_current_thread_id() as u32 }
}

/// Enumerates memory ranges satisfying `protection` given
Expand Down

0 comments on commit 616a89a

Please sign in to comment.