summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/Steam/friend_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/Steam/friend_list.h')
-rw-r--r--protocols/Steam/src/Steam/friend_list.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Steam/src/Steam/friend_list.h b/protocols/Steam/src/Steam/friend_list.h
index 160e3a0df5..c5c529a0b9 100644
--- a/protocols/Steam/src/Steam/friend_list.h
+++ b/protocols/Steam/src/Steam/friend_list.h
@@ -14,9 +14,8 @@ namespace SteamWebApi
std::vector<std::string> items;
public:
- int GetItemCount() const { return items.size(); }
-
- const char *GetAt(int idx) const { return items.at(idx).c_str(); }
+ size_t GetItemCount() const { return items.size(); }
+ const char * GetAt(int idx) const { return items.at(idx).c_str(); }
};
static void Load(HANDLE hConnection, const char *token, const char *steamId, FriendList *friendList)