From 26cac6b426f729c7df096cfb1614a3ee7d8eefc4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 6 Jan 2025 15:40:45 +0300 Subject: more code cleaning --- protocols/Steam/src/steam_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Steam/src/steam_utils.cpp') diff --git a/protocols/Steam/src/steam_utils.cpp b/protocols/Steam/src/steam_utils.cpp index 04610d7cc9..2b8c3263db 100644 --- a/protocols/Steam/src/steam_utils.cpp +++ b/protocols/Steam/src/steam_utils.cpp @@ -88,7 +88,7 @@ void CSteamProto::SetId(const char *pszSetting, int64_t id) ///////////////////////////////////////////////////////////////////////////////////////// // Statuses -int SteamToMirandaStatus(PersonaState state) +int SteamToMirandaStatus(uint32_t state) { switch (state) { case PersonaState::Offline: @@ -111,7 +111,7 @@ int SteamToMirandaStatus(PersonaState state) } } -PersonaState MirandaToSteamState(int status) +uint32_t MirandaToSteamState(int status) { switch (status) { case ID_STATUS_OFFLINE: -- cgit v1.2.3