diff options
Diffstat (limited to 'rgo/src/memdup.c')
-rw-r--r-- | rgo/src/memdup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rgo/src/memdup.c b/rgo/src/memdup.c index 45b7dda..fb247f3 100644 --- a/rgo/src/memdup.c +++ b/rgo/src/memdup.c @@ -4,11 +4,11 @@ If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -#include <rgo.h> +#include <rgo-priv.h> #include <stdlib.h> -void * __rgo_memdup(void const * const __restrict__ _ptr,size_t const _num) { +void * __rgo_memdup(void const * const __restrict__ _ptr,sus_typ_usz const _num) { void * const __restrict__ dup = malloc(_num); if (__builtin_expect (dup == NULL,0x0l)) {return NULL;} rgo_memcpy(_ptr,_num,dup); |