mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
msvc types tweaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1416 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -57,7 +57,7 @@ SWITCH_DECLARE(switch_status_t) switch_console_stream_write(switch_stream_handle
|
||||
va_end(ap);
|
||||
|
||||
if (data) {
|
||||
uint32_t len = handle->data_size - handle->data_len;
|
||||
switch_size_t len = handle->data_size - handle->data_len;
|
||||
|
||||
if (len <= strlen(data)) {
|
||||
ret = -1;
|
||||
@@ -65,7 +65,7 @@ SWITCH_DECLARE(switch_status_t) switch_console_stream_write(switch_stream_handle
|
||||
ret = 0;
|
||||
snprintf(end, len, data);
|
||||
handle->data_len = strlen(buf);
|
||||
handle->end = handle->data + handle->data_len;
|
||||
handle->end = (uint8_t *)(handle->data) + handle->data_len;
|
||||
}
|
||||
free(data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user