Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-02-21 21:18:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-21 21:18:27 +0400
commit091d86b9cb769f535fa11d2c7b6274e5206476d3 (patch)
treecb6db7fa6802f71558a016f1e5239cfb3f0f47c3 /source/blender/blenlib/intern/BLI_heap.c
parentc84e4da7ddae474a1eb3368844165f21866c5fe5 (diff)
style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script.
Diffstat (limited to 'source/blender/blenlib/intern/BLI_heap.c')
-rw-r--r--source/blender/blenlib/intern/BLI_heap.c2
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;