diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-06-03 08:02:20 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-06-03 08:02:20 +0000 |
commit | d230e6973528f1af91845d2dd1d6bb3f74db8b4f (patch) | |
tree | 9e8723a9ff63146d1c669f06001b954ad19717bb /protocols | |
parent | 6d13b6a03143e3114889e6973d517bf156222952 (diff) |
Steam: warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@9399 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Steam/src/Steam/friend.h | 2 | ||||
-rw-r--r-- | protocols/Steam/src/Steam/friend_list.h | 2 | ||||
-rw-r--r-- | protocols/Steam/src/Steam/poll.h | 2 |
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)
|