diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-02-18 13:02:10 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-02-18 13:12:20 +0000 |
| commit | eb44ce125fb51f093fa6927f2227b1c4bc761a37 (patch) | |
| tree | 7d62b11671c10fab544d30acbfdfbd9654ac23b2 /security/snort2pfcd | |
| parent | 91d06d728d1320d2dabb686d3e6125ca996d1661 (diff) | |
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/devel/py-spy/work/py_spy-0.4.1/cargo-crates/proc-maps-0.4.0/src/freebsd_maps/ptrace.rs:188:52
|
188 | let result = unsafe { ptrace(PT_VM_ENTRY, pid, &vm_entry as *const _ as *mut i8, 0) };
| ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut u8`, found `*mut i8`
| |
| arguments to this function are incorrect
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
note: function defined here
--> /wrkdirs/usr/ports/devel/py-spy/work/py_spy-0.4.1/cargo-crates/proc-maps-0.4.0/src/freebsd_maps/ptrace.rs:150:8
|
150 | fn ptrace(request: c_int, pid: Pid, vm_entry: caddr_t, data: c_int) -> c_int;
| ^^^^^^ --------
For more information about this error, try `rustc --explain E0308`.
error: could not compile `proc-maps` (lib) due to 1 previous error
Diffstat (limited to 'security/snort2pfcd')
0 files changed, 0 insertions, 0 deletions
