From 01e38d12ede3109687208c387b50ee6a07c3426c Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 25 Dec 2020 00:08:06 +0000 Subject: Fix some compiler warnings --- src/CacheStructs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CacheStructs.h') diff --git a/src/CacheStructs.h b/src/CacheStructs.h index b3d9acf1..10f8cc54 100644 --- a/src/CacheStructs.h +++ b/src/CacheStructs.h @@ -61,7 +61,7 @@ struct RoomInfo //! Whether or not the room is an invite. bool is_invite = false; //! Total number of members in the room. - int16_t member_count = 0; + size_t member_count = 0; //! Who can access to the room. mtx::events::state::JoinRule join_rule = mtx::events::state::JoinRule::Public; bool guest_access = false; -- cgit 1.5.1