Fixed warning.

This commit is contained in:
irungentoo 2014-03-18 20:30:45 -04:00
parent 5770a0e29a
commit e2b235e296

View File

@ -733,7 +733,7 @@ void m_set_sends_receipts(Messenger *m, int32_t friendnumber, int yesno)
void m_callback_friendrequest(Messenger *m, void (*function)(Messenger *m, uint8_t *, uint8_t *, uint16_t, void *),
void *userdata)
{
void (*handle_friendrequest)(void *, uint8_t *, uint8_t *, uint16_t, void *) = function;
void (*handle_friendrequest)(void *, uint8_t *, uint8_t *, uint16_t, void *) = (void *)function;
callback_friendrequest(&(m->fr), handle_friendrequest, m, userdata);
}