Code cleanup: style and warnings

This commit is contained in:
Campbell Barton
2014-03-26 07:48:51 +11:00
parent 9d45431a35
commit a99a8a6070
8 changed files with 9 additions and 8 deletions

View File

@@ -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);

View File

@@ -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);