Skip to content
Snippets Groups Projects
Commit 6dc38681 authored by Sébastien Marie's avatar Sébastien Marie
Browse files

use proper type of si_addr in siginfo_t

under openbsd it is a `caddr_t` which expand to `char *`.
as the size of the type change, adjust the padding too.
parent b1a108c2
No related branches found
No related tags found
No related merge requests found
......@@ -99,8 +99,8 @@ s! {
pub si_signo: ::c_int,
pub si_code: ::c_int,
pub si_errno: ::c_int,
pub si_addr: *mut ::c_void,
__pad: [u8; 116],
pub si_addr: *mut ::c_char,
__pad: [u8; 108],
}
pub struct Dl_info {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment