wrong type

This commit is contained in:
Jfreegman 2013-09-09 07:14:47 -04:00
parent 5a1897162b
commit 7e84ba4606

View File

@ -351,7 +351,7 @@ static int m_sendname(Messenger *m, int friendnumber, uint8_t *name, uint16_t le
* return 0 if success. * return 0 if success.
* return -1 if failure. * 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)) if (friend_not_valid(m, friendnumber))
return -1; return -1;