Fix declaration of memset

This commit is contained in:
Martijn Otto 2018-02-21 10:04:07 +01:00
parent f8131b53d6
commit 1eeff1598a
2 changed files with 2 additions and 2 deletions

View file

@ -147,7 +147,7 @@ struct st_r3_buffer_prototype_t {
typedef R3_VECTOR(void) r3_vector_t;
extern void *(*r3_mem__set_secure)(void *, int, unsigned int);
extern void *(*r3_mem__set_secure)(void *, int, size_t);
/**
* prints an error message and aborts

View file

@ -55,7 +55,7 @@ struct st_r3_mem_pool_shared_ref_t {
struct st_r3_mem_pool_shared_entry_t *entry;
};
void *(*r3_mem__set_secure)(void *, int, unsigned int) = memset;
void *(*r3_mem__set_secure)(void *, int, size_t) = memset;
static __thread r3_mem_recycle_t mempool_allocator = {16};