Make internal chat list function take uint32_t* as well.

The public one already does this, and the internal one actually assigns
`uint32_t`s.
This commit is contained in:
iphydf 2016-09-18 11:27:14 +01:00
parent f41b010e9b
commit b6db1dba9a
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
2 changed files with 2 additions and 2 deletions

View File

@ -2510,7 +2510,7 @@ uint32_t count_chatlist(Group_Chats *g_c)
* Otherwise, returns the number of elements copied.
* If the array was too small, the contents
* of out_list will be truncated to list_size. */
uint32_t copy_chatlist(Group_Chats *g_c, int32_t *out_list, uint32_t list_size)
uint32_t copy_chatlist(Group_Chats *g_c, uint32_t *out_list, uint32_t list_size)
{
if (!out_list) {
return 0;

View File

@ -321,7 +321,7 @@ uint32_t count_chatlist(Group_Chats *g_c);
* Otherwise, returns the number of elements copied.
* If the array was too small, the contents
* of out_list will be truncated to list_size. */
uint32_t copy_chatlist(Group_Chats *g_c, int32_t *out_list, uint32_t list_size);
uint32_t copy_chatlist(Group_Chats *g_c, uint32_t *out_list, uint32_t list_size);
/* return the type of groupchat (GROUPCHAT_TYPE_) that groupnumber is.
*