]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/Common/Minimal/StreamBufferInterrupt.c
Update version number in readiness for V10.3.0 release. Sync SVN with reviewed releas...
[freertos] / FreeRTOS / Demo / Common / Minimal / StreamBufferInterrupt.c
index 772d5b4c60ada6c3189b1402a295d3a574874ce6..6cff87d2fe9ddf92deda95cd1f7b9545c85bf68d 100644 (file)
@@ -1,6 +1,6 @@
 /*\r
- * FreeRTOS Kernel V10.0.1\r
- * Copyright (C) 2017 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
+ * FreeRTOS Kernel V10.3.0\r
+ * Copyright (C) 2020 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
  * this software and associated documentation files (the "Software"), to deal in\r
@@ -172,7 +172,7 @@ BaseType_t xNextByte = 0;
                                continuing to look for the end of the string. */\r
                                xNextByte++;\r
 \r
-                               configASSERT( xNextByte < sizeof( cRxBuffer ) );\r
+                               configASSERT( ( size_t ) xNextByte < sizeof( cRxBuffer ) );\r
                        }\r
                }\r
        }\r
@@ -193,7 +193,7 @@ static BaseType_t xCallCount = 0;
 \r
                /* Send the next four bytes to the stream buffer. */\r
                xStreamBufferSendFromISR( xStreamBuffer,\r
-                                                                 ( void * ) ( pcStringToSend + xNextByteToSend ),\r
+                                                                 ( const void * ) ( pcStringToSend + xNextByteToSend ),\r
                                                                  xBytesToSend,\r
                                                                  NULL );\r
 \r