mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
windows fix x64 build warnings freetdm
This commit is contained in:
parent
b02682bdbe
commit
87bb33ae3a
@ -3415,7 +3415,7 @@ static FIO_READ_FUNCTION(ftdm_raw_read)
|
|||||||
ftdm_status_t status = ftdmchan->fio->read(ftdmchan, data, datalen);
|
ftdm_status_t status = ftdmchan->fio->read(ftdmchan, data, datalen);
|
||||||
if (status == FTDM_SUCCESS && ftdmchan->fds[FTDM_READ_TRACE_INDEX] > -1) {
|
if (status == FTDM_SUCCESS && ftdmchan->fds[FTDM_READ_TRACE_INDEX] > -1) {
|
||||||
ftdm_size_t dlen = *datalen;
|
ftdm_size_t dlen = *datalen;
|
||||||
if ((ftdm_size_t)write(ftdmchan->fds[FTDM_READ_TRACE_INDEX], data, dlen) != dlen) {
|
if ((ftdm_size_t)write(ftdmchan->fds[FTDM_READ_TRACE_INDEX], data, (int)dlen) != dlen) {
|
||||||
ftdm_log(FTDM_LOG_WARNING, "Raw input trace failed to write all of the %zd bytes\n", dlen);
|
ftdm_log(FTDM_LOG_WARNING, "Raw input trace failed to write all of the %zd bytes\n", dlen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3428,7 +3428,7 @@ static FIO_READ_FUNCTION(ftdm_raw_read)
|
|||||||
ftdm_size_t dlen = *datalen;
|
ftdm_size_t dlen = *datalen;
|
||||||
ftdm_size_t rc = 0;
|
ftdm_size_t rc = 0;
|
||||||
|
|
||||||
write_chan_io_dump(&ftdmchan->rxdump, data, dlen);
|
write_chan_io_dump(&ftdmchan->rxdump, data, (int)dlen);
|
||||||
|
|
||||||
/* if dtmf debug is enabled and initialized, write there too */
|
/* if dtmf debug is enabled and initialized, write there too */
|
||||||
if (ftdmchan->dtmfdbg.file) {
|
if (ftdmchan->dtmfdbg.file) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user