diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-21 21:18:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-21 21:18:27 +0400 |
commit | 091d86b9cb769f535fa11d2c7b6274e5206476d3 (patch) | |
tree | cb6db7fa6802f71558a016f1e5239cfb3f0f47c3 /source/blender/blenlib | |
parent | c84e4da7ddae474a1eb3368844165f21866c5fe5 (diff) |
style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/BLI_heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_heap.c b/source/blender/blenlib/intern/BLI_heap.c index dcc028630e2..aa54969b6f8 100644 --- a/source/blender/blenlib/intern/BLI_heap.c +++ b/source/blender/blenlib/intern/BLI_heap.c @@ -167,7 +167,7 @@ HeapNode *BLI_heap_insert(Heap *heap, float value, void *ptr) heap->freenodes = (HeapNode *)(((HeapNode *)heap->freenodes)->ptr); } else { - node = (HeapNode *)BLI_memarena_alloc(heap->arena, sizeof *node); + node = (HeapNode *)BLI_memarena_alloc(heap->arena, sizeof(*node)); } node->value = value; |