aboutsummaryrefslogtreecommitdiff
path: root/src/friends.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/friends.rs')
-rw-r--r--src/friends.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/friends.rs b/src/friends.rs
index 66ab182..fd51ec1 100644
--- a/src/friends.rs
+++ b/src/friends.rs
@@ -145,7 +145,7 @@ unsafe impl Callback for PersonaStateChange {
const ID: i32 = CALLBACK_BASE_ID + 4;
const SIZE: i32 = ::std::mem::size_of::<sys::PersonaStateChange_t>() as i32;
- unsafe fn from_raw(raw: *mut libc::c_void) -> Self {
+ unsafe fn from_raw(raw: *mut c_void) -> Self {
let val = &mut *(raw as *mut sys::PersonaStateChange_t);
PersonaStateChange {
steam_id: SteamId(val.m_ulSteamID),
@@ -165,7 +165,7 @@ unsafe impl Callback for GameLobbyJoinRequested {
const ID: i32 = CALLBACK_BASE_ID + 33;
const SIZE: i32 = ::std::mem::size_of::<sys::GameLobbyJoinRequested_t>() as i32;
- unsafe fn from_raw(raw: *mut libc::c_void) -> Self {
+ unsafe fn from_raw(raw: *mut c_void) -> Self {
let val = &mut *(raw as *mut sys::GameLobbyJoinRequested_t);
GameLobbyJoinRequested {
lobby_steam_id: LobbyId(val.m_steamIDLobby.m_steamid.m_unAll64Bits),