mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-03 04:30:08 +08:00
fixed memset
This commit is contained in:
parent
4a922fa9ed
commit
fd20e74b2f
2
bcheck.c
2
bcheck.c
@ -802,7 +802,7 @@ void *__bound_memmove(void *dst, const void *src, size_t size)
|
|||||||
void *__bound_memset(void *dst, int c, size_t size)
|
void *__bound_memset(void *dst, int c, size_t size)
|
||||||
{
|
{
|
||||||
__bound_check(dst, size);
|
__bound_check(dst, size);
|
||||||
return memset(dst, 0, size);
|
return memset(dst, c, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* resolve check check syms */
|
/* resolve check check syms */
|
||||||
|
Loading…
Reference in New Issue
Block a user