Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRTOS/FreeRTOS-Kernel.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchinglee-iot <61685396+chinglee-iot@users.noreply.github.com>2023-06-12 12:44:23 +0300
committerGitHub <noreply@github.com>2023-06-12 12:44:23 +0300
commit77d8086f1c36f97e4254adb715c40ae6dbcc6164 (patch)
treec34f9574c45b6ff07f30a3095612911c891323ff /stream_buffer.c
parent80f67449ba6888241f8f9e0b00984081e6df6f0c (diff)
Fix clang warning in croutine and stream buffer (#686)
* Fix document warning in croutine * Fix cast-qual warning in stream buffer
Diffstat (limited to 'stream_buffer.c')
-rw-r--r--stream_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream_buffer.c b/stream_buffer.c
index 775430655..cbc0939b3 100644
--- a/stream_buffer.c
+++ b/stream_buffer.c
@@ -478,7 +478,7 @@ static void prvInitialiseNewStreamBuffer( StreamBuffer_t * const pxStreamBuffer,
StaticStreamBuffer_t ** ppxStaticStreamBuffer )
{
BaseType_t xReturn;
- const StreamBuffer_t * const pxStreamBuffer = xStreamBuffer;
+ StreamBuffer_t * const pxStreamBuffer = xStreamBuffer;
configASSERT( pxStreamBuffer );
configASSERT( ppucStreamBufferStorageArea );