mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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:
parent
f41b010e9b
commit
b6db1dba9a
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user