diff options
author | Eion Robb <eion@robbmob.com> | 2016-01-08 07:29:27 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2016-01-08 07:29:27 +0300 |
commit | 8646d361b6139e5db02dbb1e7761ef0831ff2a4a (patch) | |
tree | 8ffaa4238d5a6a3955d07dc55f2c91963ffe83c1 /steam-mobile | |
parent | 184e83ecbb921c96472f8fa1bbaa61f8e6411453 (diff) |
Fix compiler error with group/clan detection code
Diffstat (limited to 'steam-mobile')
-rw-r--r-- | steam-mobile/libsteam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/steam-mobile/libsteam.h b/steam-mobile/libsteam.h index 8e5fabc..39568db 100644 --- a/steam-mobile/libsteam.h +++ b/steam-mobile/libsteam.h @@ -116,6 +116,6 @@ struct _SteamBuddy { gchar *gameserverip; }; -#define STEAMID_IS_GROUP(id) G_UNLIKELY((((id) >> 52) & 0x0F) == 7) +#define STEAMID_IS_GROUP(id) G_UNLIKELY(((g_ascii_strtoll((id), NULL, 10) >> 52) & 0x0F) == 7) #endif /* LIBSTEAM_H */ |