diff options
author | irungentoo <irungentoo@gmail.com> | 2014-05-26 14:06:21 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-05-26 14:06:21 -0400 |
commit | 42675ed215285521a779e2ff2ec2667655d5f163 (patch) | |
tree | 3bff384e2fecf65bfa56b8183cdd6f4e53a4bd9a | |
parent | 41af0e4547d5a369968f124c0a57c39db6621c4b (diff) |
Fixed possible issue.
-rw-r--r-- | toxcore/tox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 111b2634..f54d113e 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -314,9 +314,9 @@ void tox_callback_friend_request(Tox *tox, void (*function)(Tox *tox, uint8_t *, | |||
314 | void *userdata); | 314 | void *userdata); |
315 | 315 | ||
316 | /* Set the function that will be executed when a message from a friend is received. | 316 | /* Set the function that will be executed when a message from a friend is received. |
317 | * Function format is: function(Tox *tox, int friendnumber, uint8_t * message, uint32_t length, void *userdata) | 317 | * Function format is: function(Tox *tox, int32_t friendnumber, uint8_t * message, uint32_t length, void *userdata) |
318 | */ | 318 | */ |
319 | void tox_callback_friend_message(Tox *tox, void (*function)(Tox *tox, int, uint8_t *, uint16_t, void *), | 319 | void tox_callback_friend_message(Tox *tox, void (*function)(Tox *tox, int32_t, uint8_t *, uint16_t, void *), |
320 | void *userdata); | 320 | void *userdata); |
321 | 321 | ||
322 | /* Set the function that will be executed when an action from a friend is received. | 322 | /* Set the function that will be executed when an action from a friend is received. |