From a99a8a60705216c42368054e9bc78d012084b5fa Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 26 Mar 2014 07:48:51 +1100 Subject: Code cleanup: style and warnings --- intern/guardedalloc/intern/mallocn_guarded_impl.c | 2 +- intern/guardedalloc/intern/mallocn_lockfree_impl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/guardedalloc') 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); -- cgit v1.2.3