Skip to content

Commit

Permalink
Merge pull request #8 from jabuwu/fix-msgptr
Browse files Browse the repository at this point in the history
Remove `MsgPtr` type guesswork
  • Loading branch information
hussein-aitlahcen authored Nov 15, 2024
2 parents a0fc575 + e731b8f commit 386c009
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 386c009

Please sign in to comment.