Skip to content

Commit

Permalink
fixed unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras committed Dec 13, 2023
1 parent 2ae9157 commit 51dc150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frida/src/device_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl<'a> DeviceManager<'a> {
let device_ptr = unsafe {
frida_sys::frida_device_manager_get_device_by_id_sync(
self.manager_ptr,
cstring.as_ptr() as *const i8,
cstring.as_ptr(),
0,
std::ptr::null_mut(),
&mut error,
Expand Down

0 comments on commit 51dc150

Please sign in to comment.