Commit e9381f44 authored by Troy Kisky's avatar Troy Kisky
Browse files

vos_memory: add const to args of vos_mem_compare to fix compiler error


Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
parent 3b3a7ec7
......@@ -211,7 +211,7 @@ v_VOID_t vos_mem_move( v_VOID_t *pDst, const v_VOID_t *pSrc, v_SIZE_t numBytes )
locations are equal or not equal.
-------------------------------------------------------------------------------*/
v_BOOL_t vos_mem_compare( v_VOID_t *pMemory1, v_VOID_t *pMemory2, v_U32_t numBytes );
v_BOOL_t vos_mem_compare( const v_VOID_t *pMemory1, const v_VOID_t *pMemory2, v_U32_t numBytes );
/** ---------------------------------------------------------------------------
......
......@@ -557,7 +557,7 @@ v_VOID_t vos_mem_move( v_VOID_t *pDst, const v_VOID_t *pSrc, v_SIZE_t numBytes )
memmove(pDst, pSrc, numBytes);
}
v_BOOL_t vos_mem_compare( v_VOID_t *pMemory1, v_VOID_t *pMemory2, v_U32_t numBytes )
v_BOOL_t vos_mem_compare( const v_VOID_t *pMemory1, const v_VOID_t *pMemory2, v_U32_t numBytes )
{
if (0 == numBytes)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment