diff options
Diffstat (limited to 'malloc.h')
-rw-r--r-- | malloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,6 +14,6 @@ void* sa_memdup(const void* p, size_t size); #define sa_new(t, n) ((t*) sa_malloc(sizeof(t)*(n))) #define sa_new0(t, n) ((t*) sa_malloc0(sizeof(t)*(n))) -#define sa_newdup(p, t, n) ((t*) sa_memdup(p, sizeof(t)*(n))) +#define sa_newdup(t, p, n) ((t*) sa_memdup(p, sizeof(t)*(n))) #endif |