fix types uint32_t -> switch_size_t aka apr_size_t
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1027 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7f03b92fe6
commit
f8f7841f74
|
@ -230,7 +230,7 @@ SWITCH_DECLARE(void) switch_rtp_set_invald_handler(switch_rtp *rtp_session, swit
|
|||
|
||||
SWITCH_DECLARE(int) switch_rtp_read(switch_rtp *rtp_session, void *data, uint32_t datalen, int *payload_type)
|
||||
{
|
||||
uint32_t bytes;
|
||||
switch_size_t bytes;
|
||||
|
||||
if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_IO)) {
|
||||
return -1;
|
||||
|
@ -259,7 +259,7 @@ SWITCH_DECLARE(int) switch_rtp_read(switch_rtp *rtp_session, void *data, uint32_
|
|||
|
||||
SWITCH_DECLARE(int) switch_rtp_zerocopy_read(switch_rtp *rtp_session, void **data, int *payload_type)
|
||||
{
|
||||
uint32_t bytes;
|
||||
switch_size_t bytes;
|
||||
|
||||
*data = NULL;
|
||||
if (!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_IO)) {
|
||||
|
|
Loading…
Reference in New Issue