summaryrefslogtreecommitdiffstats
path: root/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloc.h')
-rw-r--r--malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.h b/malloc.h
index d9dcee9..bcaf53e 100644
--- a/malloc.h
+++ b/malloc.h
@@ -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