mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
wrong type
This commit is contained in:
parent
5a1897162b
commit
7e84ba4606
|
@ -351,7 +351,7 @@ static int m_sendname(Messenger *m, int friendnumber, uint8_t *name, uint16_t le
|
|||
* return 0 if success.
|
||||
* return -1 if failure.
|
||||
*/
|
||||
static int setfriendname(Messenger *m, int friendnumber, uint8_t *name, uint8_t len)
|
||||
static int setfriendname(Messenger *m, int friendnumber, uint8_t *name, uint16_t len)
|
||||
{
|
||||
if (friend_not_valid(m, friendnumber))
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user