From 091d86b9cb769f535fa11d2c7b6274e5206476d3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 21 Feb 2013 17:18:27 +0000 Subject: style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script. --- source/blender/blenlib/intern/BLI_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/intern/BLI_heap.c') 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; -- cgit v1.2.3