xBytesToSend = xStringLength - xNextChar;\r
\r
/* Attempt to send right up to the end of the string. */\r
- xBytesActuallySent = xStreamBufferSend( xStreamBuffer, ( void * ) &( pc55ByteString[ xNextChar ] ), xBytesToSend, xTicksToWait );\r
+ xBytesActuallySent = xStreamBufferSend( xStreamBuffer, ( const void * ) &( pc55ByteString[ xNextChar ] ), xBytesToSend, xTicksToWait );\r
configASSERT( xBytesActuallySent <= xBytesToSend );\r
\r
/* Move the index up the string to the next character to be sent,\r
} while( xReceivedLength == 0 );\r
\r
/* Ensure the received string matches the expected string. */\r
- configASSERT( memcmp( ( void * ) cRxString, ( void * ) &( pc55ByteString[ xNextChar ] ), xReceivedLength ) == 0 );\r
+ configASSERT( memcmp( ( void * ) cRxString, ( const void * ) &( pc55ByteString[ xNextChar ] ), xReceivedLength ) == 0 );\r
\r
/* Move the index into the string up to the end of the bytes\r
received so far - wrapping if the end of the string has been\r