Skip to content

Commit

Permalink
Fixed warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
irungentoo committed Mar 19, 2014
1 parent 5770a0e commit e2b235e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toxcore/Messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e2b235e

Please sign in to comment.