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:
authorEion Robb <eion@robbmob.com>2016-01-08 07:29:27 +0300
committerEion Robb <eion@robbmob.com>2016-01-08 07:29:27 +0300
commit8646d361b6139e5db02dbb1e7761ef0831ff2a4a (patch)
tree8ffaa4238d5a6a3955d07dc55f2c91963ffe83c1
parent184e83ecbb921c96472f8fa1bbaa61f8e6411453 (diff)
Fix compiler error with group/clan detection code
-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 */