silence compiler warning

This commit is contained in:
ehouse 2005-10-16 01:15:49 +00:00
parent 9b0fb63a84
commit 57fb57a1e5
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ void sym_memset( void* dest, XP_UCHAR val, XP_U32 nBytes );
XP_S16 sym_strcmp( XP_UCHAR* str1, XP_UCHAR* str2 ); XP_S16 sym_strcmp( XP_UCHAR* str1, XP_UCHAR* str2 );
XP_U32 sym_strlen( XP_UCHAR* str ); XP_U32 sym_strlen( XP_UCHAR* str );
XP_S16 sym_strncmp( XP_UCHAR* str1, XP_UCHAR* str2, XP_U32 len ); XP_S16 sym_strncmp( XP_UCHAR* str1, XP_UCHAR* str2, XP_U32 len );
void sym_memcpy( void* dest, void* src, XP_U32 nbytes ); void sym_memcpy( void* dest, const void* src, XP_U32 nbytes );
XP_S16 sym_memcmp( void* m1, void* m2, XP_U32 nbytes ); XP_S16 sym_memcmp( void* m1, void* m2, XP_U32 nbytes );
char* sym_strcat( XP_UCHAR* dest, const XP_UCHAR* src ); char* sym_strcat( XP_UCHAR* dest, const XP_UCHAR* src );

View file

@ -148,7 +148,7 @@ sym_assert( XP_Bool b, XP_U32 line, const char* file )
} }
void void
sym_memcpy( void* dest, void* src, XP_U32 nbytes ) sym_memcpy( void* dest, const void* src, XP_U32 nbytes )
{ {
memcpy( dest, src, nbytes ); memcpy( dest, src, nbytes );
} }