mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-05 22:38:39 +08:00
Fix a breaking build by removing const (#301)
This commit is contained in:

committed by
GitHub

parent
3f21957cc8
commit
ea0033a85d
@ -959,7 +959,7 @@ NetworkBufferDescriptor_t *pxResult;
|
|||||||
/* The following statement may trigger a:
|
/* The following statement may trigger a:
|
||||||
warning: cast increases required alignment of target type [-Wcast-align].
|
warning: cast increases required alignment of target type [-Wcast-align].
|
||||||
It has been confirmed though that the alignment is suitable. */
|
It has been confirmed though that the alignment is suitable. */
|
||||||
pxResult = * ( ( const NetworkBufferDescriptor_t **) pucBuffer );
|
pxResult = * ( ( NetworkBufferDescriptor_t ** ) pucBuffer );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user