summaryrefslogtreecommitdiffstats
path: root/utils/thread_util.h
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /utils/thread_util.h
parentMaybe not remove, but ... (diff)
downloadxscreensaver-openslx.tar.gz
xscreensaver-openslx.tar.xz
xscreensaver-openslx.zip
xscreensaver 6.00v28r1openslx
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