Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/pidgin-opensteamworks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--steam-mobile/libsteam.h2
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 */