diff options
-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 */ |