msvc types tweaks.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1416 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2006-05-10 16:37:56 +00:00
parent 87152f99ed
commit ead82d86fd
4 changed files with 13 additions and 10 deletions

View File

@@ -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);
}