summaryrefslogtreecommitdiffstats
path: root/utils/thread_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/thread_util.h')
-rw-r--r--utils/thread_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/thread_util.h b/utils/thread_util.h
index 6dff8de..a8faf2d 100644
--- a/utils/thread_util.h
+++ b/utils/thread_util.h
@@ -161,7 +161,7 @@ unsigned thread_memory_alignment(Display *dpy);
/* int thread_malloc(void **ptr, Display *dpy, unsigned size); */
#define thread_malloc(ptr, dpy, size) \
- (aligned_malloc((ptr), thread_memory_alignment(dpy), (size)))
+ (aligned_malloc((ptr), 0, (size)))
/*
This simply does a malloc aligned to thread_memory_alignment(). See