summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pack.c b/pack.c
index efd69c9..d031f59 100644
--- a/pack.c
+++ b/pack.c
@@ -60,10 +60,10 @@ TOKEN_PASTE(swap,x)(z) \
unsigned char *s, *t; \
int i; \
\
- zp = malloc(sizeof(xtype)); \
+ zp = xmalloc(sizeof(xtype)); \
*zp = z; \
s = (unsigned char*)zp; \
- t = malloc(sizeof(xtype)); \
+ t = xmalloc(sizeof(xtype)); \
for (i=0; i<sizeof(xtype); i++) { \
t[sizeof(xtype)-i-1] = s[i]; \
} \