summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/Steam/friend.h2
-rw-r--r--protocols/Steam/src/Steam/friend_list.h2
-rw-r--r--protocols/Steam/src/Steam/poll.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/Steam/friend.h b/protocols/Steam/src/Steam/friend.h
index a2c7780551..3fa559b2ec 100644
--- a/protocols/Steam/src/Steam/friend.h
+++ b/protocols/Steam/src/Steam/friend.h
@@ -62,7 +62,7 @@ namespace SteamWebApi
public:
size_t GetItemCount() const { return items.size(); }
- const Summary *GetAt(int idx) const { return items.at(idx); }
+ const Summary *GetAt(size_t idx) const { return items.at(idx); }
};
static void LoadSummaries(HANDLE hConnection, const char *token, const char *steamIds, Summaries *summaries)
diff --git a/protocols/Steam/src/Steam/friend_list.h b/protocols/Steam/src/Steam/friend_list.h
index 80944f8ffe..d5c1c5dc34 100644
--- a/protocols/Steam/src/Steam/friend_list.h
+++ b/protocols/Steam/src/Steam/friend_list.h
@@ -37,7 +37,7 @@ namespace SteamWebApi
public:
size_t GetItemCount() const { return items.size(); }
- const FriendListItem * GetAt(int idx) const { return items.at(idx); }
+ const FriendListItem * GetAt(size_t idx) const { return items.at(idx); }
};
static void Load(HANDLE hConnection, const char *token, const char *steamId, FriendList *friendList)
diff --git a/protocols/Steam/src/Steam/poll.h b/protocols/Steam/src/Steam/poll.h
index 42efeff8f1..218787e9ac 100644
--- a/protocols/Steam/src/Steam/poll.h
+++ b/protocols/Steam/src/Steam/poll.h
@@ -80,7 +80,7 @@ namespace SteamWebApi
UINT32 GetMessageId() const { return messageId; }
bool IsNeedRelogin() const { return need_relogin; }
size_t GetItemCount() const { return items.size(); }
- const PoolItem *GetAt(int idx) const { return items.at(idx); }
+ const PoolItem *GetAt(size_t idx) const { return items.at(idx); }
};
static void Poll(HANDLE hConnection, const char *token, const char *umqId, UINT32 messageId, PollResult *pollResult)