X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Demo%2FMCF5235_GCC%2Fsystem%2Fnewlib.c;h=422ad610cd7f9976f44eb4aaf5ddcbbb0a218a2c;hb=d331926edbe13b4486ee9a1603b6d6d97fe862ab;hp=db2ba17765c8b69b803d9961c9445b369871d900;hpb=00c742ab093a218228fdd925e6f555167421c32e;p=freertos diff --git a/Demo/MCF5235_GCC/system/newlib.c b/Demo/MCF5235_GCC/system/newlib.c index db2ba1776..422ad610c 100644 --- a/Demo/MCF5235_GCC/system/newlib.c +++ b/Demo/MCF5235_GCC/system/newlib.c @@ -62,8 +62,8 @@ /* ------------------------ Prototypes ------------------------------------ */ void vSerialPutStringNOISR( xComPortHandle pxPort, - const signed portCHAR * const pcString, - unsigned portSHORT usStringLength ); + const signed char * const pcString, + unsigned short usStringLength ); /* ------------------------ Start implementation -------------------------- */ void @@ -109,13 +109,13 @@ write( int fd, const void *buf, size_t nbytes ) { case STDERR_FILENO: vSerialPutStringNOISR( xSTDComPort, - ( const signed portCHAR * const )buf, - ( unsigned portSHORT )nbytes ); + ( const signed char * const )buf, + ( unsigned short )nbytes ); break; case STDOUT_FILENO: vSerialPutString( xSTDComPort, - ( const signed portCHAR * const)buf, - ( unsigned portSHORT )nbytes ); + ( const signed char * const)buf, + ( unsigned short )nbytes ); break; default: errno = EIO;