diff options
-rw-r--r-- | toxcore/group.c | 2 | ||||
-rw-r--r-- | toxcore/group.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/group.c b/toxcore/group.c index b03dd6ed..6f49175c 100644 --- a/toxcore/group.c +++ b/toxcore/group.c | |||
@@ -2510,7 +2510,7 @@ uint32_t count_chatlist(Group_Chats *g_c) | |||
2510 | * Otherwise, returns the number of elements copied. | 2510 | * Otherwise, returns the number of elements copied. |
2511 | * If the array was too small, the contents | 2511 | * If the array was too small, the contents |
2512 | * of out_list will be truncated to list_size. */ | 2512 | * of out_list will be truncated to list_size. */ |
2513 | uint32_t copy_chatlist(Group_Chats *g_c, int32_t *out_list, uint32_t list_size) | 2513 | uint32_t copy_chatlist(Group_Chats *g_c, uint32_t *out_list, uint32_t list_size) |
2514 | { | 2514 | { |
2515 | if (!out_list) { | 2515 | if (!out_list) { |
2516 | return 0; | 2516 | return 0; |
diff --git a/toxcore/group.h b/toxcore/group.h index fc7629f3..7e7d7050 100644 --- a/toxcore/group.h +++ b/toxcore/group.h | |||
@@ -321,7 +321,7 @@ uint32_t count_chatlist(Group_Chats *g_c); | |||
321 | * Otherwise, returns the number of elements copied. | 321 | * Otherwise, returns the number of elements copied. |
322 | * If the array was too small, the contents | 322 | * If the array was too small, the contents |
323 | * of out_list will be truncated to list_size. */ | 323 | * of out_list will be truncated to list_size. */ |
324 | uint32_t copy_chatlist(Group_Chats *g_c, int32_t *out_list, uint32_t list_size); | 324 | uint32_t copy_chatlist(Group_Chats *g_c, uint32_t *out_list, uint32_t list_size); |
325 | 325 | ||
326 | /* return the type of groupchat (GROUPCHAT_TYPE_) that groupnumber is. | 326 | /* return the type of groupchat (GROUPCHAT_TYPE_) that groupnumber is. |
327 | * | 327 | * |