diff options
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/intern/mallocn_guarded_impl.c | 2 | ||||
-rw-r--r-- | intern/guardedalloc/intern/mallocn_lockfree_impl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/guardedalloc/intern/mallocn_guarded_impl.c b/intern/guardedalloc/intern/mallocn_guarded_impl.c index 352d18df732..7a8545de524 100644 --- a/intern/guardedalloc/intern/mallocn_guarded_impl.c +++ b/intern/guardedalloc/intern/mallocn_guarded_impl.c @@ -544,7 +544,7 @@ void *MEM_guarded_mapallocN(size_t len, const char *str) /* on 64 bit, simply use calloc instead, as mmap does not support * allocating > 4 GB on Windows. the only reason mapalloc exists * is to get around address space limitations in 32 bit OSes. */ - if(sizeof(void*) >= 8) + if (sizeof(void *) >= 8) return MEM_guarded_callocN(len, str); len = SIZET_ALIGN_4(len); diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.c b/intern/guardedalloc/intern/mallocn_lockfree_impl.c index 2c7c087966a..1d131ed339a 100644 --- a/intern/guardedalloc/intern/mallocn_lockfree_impl.c +++ b/intern/guardedalloc/intern/mallocn_lockfree_impl.c @@ -268,7 +268,7 @@ void *MEM_lockfree_mapallocN(size_t len, const char *str) /* on 64 bit, simply use calloc instead, as mmap does not support * allocating > 4 GB on Windows. the only reason mapalloc exists * is to get around address space limitations in 32 bit OSes. */ - if(sizeof(void*) >= 8) + if (sizeof(void *) >= 8) return MEM_lockfree_callocN(len, str); len = SIZET_ALIGN_4(len); |