From 8e645a79421b844cc2e1f3a42816e004768570e1 Mon Sep 17 00:00:00 2001 From: xoffio <38369407+Xoffio@users.noreply.github.com> Date: Tue, 26 Nov 2024 21:52:40 -0500 Subject: [PATCH] Fix CI issue --- frida-gum/src/process.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frida-gum/src/process.rs b/frida-gum/src/process.rs index 9974e66..71fd30b 100644 --- a/frida-gum/src/process.rs +++ b/frida-gum/src/process.rs @@ -63,9 +63,10 @@ impl<'a> Process<'a> { let id = unsafe { gum_sys::gum_process_get_id() }; let platform = num::FromPrimitive::from_u32(unsafe { gum_sys::gum_process_get_native_os() }).unwrap(); - let code_signing_policy = - num::FromPrimitive::from_u32(unsafe { gum_sys::gum_process_get_code_signing_policy() }) - .unwrap(); + let code_signing_policy = num::FromPrimitive::from_u32(unsafe { + gum_sys::gum_process_get_code_signing_policy() as u32 + }) + .unwrap(); let main_module = unsafe { module::ModuleDetailsOwned::from_module_details(gum_sys::gum_process_get_main_module())