Skip to content

Commit

Permalink
remove MsgPtr type guesswork
Browse files Browse the repository at this point in the history
  • Loading branch information
jabuwu committed Nov 15, 2024
1 parent a0fc575 commit e731b8f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gns/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -934,10 +934,8 @@ impl Drop for GnsUtils {
}
}

#[cfg(target_arch = "aarch64")]
type MsgPtr = *const u8;
#[cfg(target_arch = "x86_64")]
type MsgPtr = *const i8;
type MsgPtr = *const ::std::os::raw::c_char;


impl GnsUtils {
#[inline]
Expand Down

0 comments on commit e731b8f

Please sign in to comment.