diff options
author | irungentoo <irungentoo@gmail.com> | 2015-02-17 15:49:22 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-02-17 15:49:22 -0500 |
commit | c6a59e64b7a7fb86ed8a99c21a0b7b023559b0ea (patch) | |
tree | b987c1382e0631bc91a9cd50438b58622d8d901b /toxav/rtp.c | |
parent | 7cefc9c4582c367092cd6187ea924da9a1fcf2f0 (diff) |
Updated types in Messenger callbacks to fit with the ones in the new api.
Friend number changed from int32_t to uint32_t.
Some lengths changed to size_t.
Diffstat (limited to 'toxav/rtp.c')
-rw-r--r-- | toxav/rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c index 2af89ebf..63c2cdcb 100644 --- a/toxav/rtp.c +++ b/toxav/rtp.c | |||
@@ -341,7 +341,7 @@ RTPMessage *msg_parse ( const uint8_t *data, int length ) | |||
341 | /** | 341 | /** |
342 | * Callback for networking core. | 342 | * Callback for networking core. |
343 | */ | 343 | */ |
344 | int rtp_handle_packet ( Messenger *m, int32_t friendnumber, const uint8_t *data, uint32_t length, void *object ) | 344 | int rtp_handle_packet ( Messenger *m, uint32_t friendnumber, const uint8_t *data, uint32_t length, void *object ) |
345 | { | 345 | { |
346 | RTPSession *session = object; | 346 | RTPSession *session = object; |
347 | RTPMessage *msg; | 347 | RTPMessage *msg; |