diff options
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r-- | toxcore/Messenger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index b07b6012..37a7a252 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -959,7 +959,7 @@ static int get_chat_num(Messenger *m, Group_Chat *chat) | |||
959 | return -1; | 959 | return -1; |
960 | } | 960 | } |
961 | 961 | ||
962 | static void group_message_function(Group_Chat *chat, int peer_number, uint8_t *message, uint16_t length, void *userdata) | 962 | static void group_message_function(Group_Chat *chat, int peer_number, const uint8_t *message, uint16_t length, void *userdata) |
963 | { | 963 | { |
964 | Messenger *m = userdata; | 964 | Messenger *m = userdata; |
965 | int i = get_chat_num(m, chat); | 965 | int i = get_chat_num(m, chat); |
@@ -975,7 +975,7 @@ static void group_message_function(Group_Chat *chat, int peer_number, uint8_t *m | |||
975 | (*m->group_message)(m, i, peer_number, message_terminated, length, m->group_message_userdata); | 975 | (*m->group_message)(m, i, peer_number, message_terminated, length, m->group_message_userdata); |
976 | } | 976 | } |
977 | 977 | ||
978 | static void group_action_function(Group_Chat *chat, int peer_number, uint8_t *action, uint16_t length, void *userdata) | 978 | static void group_action_function(Group_Chat *chat, int peer_number, const uint8_t *action, uint16_t length, void *userdata) |
979 | { | 979 | { |
980 | Messenger *m = userdata; | 980 | Messenger *m = userdata; |
981 | int i = get_chat_num(m, chat); | 981 | int i = get_chat_num(m, chat); |