diff options
author | Simon Rettberg | 2021-04-06 14:43:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-07 13:38:37 +0200 |
commit | 38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch) | |
tree | 9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /utils/thread_util.h | |
parent | Maybe not remove, but ... (diff) | |
download | xscreensaver-openslx.tar.gz xscreensaver-openslx.tar.xz xscreensaver-openslx.zip |
Diffstat (limited to 'utils/thread_util.h')
-rw-r--r-- | utils/thread_util.h | 2 |
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 |