mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 11:55:41 +01:00
Add missing typecast for memset
This commit is contained in:
parent
d82e559a48
commit
21d6a201ee
@ -88,7 +88,8 @@ void mbedtls_platform_memset( void *ptr, int value, size_t num )
|
||||
|
||||
/* Perform a pair of memset operations from random locations with
|
||||
* random data */
|
||||
memset( ( void * ) ( ptr + startOffset ), value, ( num - startOffset ) );
|
||||
memset( ( void * ) ( ( unsigned char * ) ptr + startOffset ), value,
|
||||
( num - startOffset ) );
|
||||
memset( ( void * ) ptr, data, startOffset );
|
||||
|
||||
/* Perform the original memset */
|
||||
|
Loading…
Reference in New Issue
Block a user