Skip to content
This repository
Browse code

Properly calculate CELL_PER_CHUNK.

  • Loading branch information...
commit 9a7cfabd75c82e447606fcca53c1fb98059c0a5e 1 parent a34696c
Vasily Chekalkin authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  include/parrot/pointer_array.h
2  include/parrot/pointer_array.h
@@ -21,7 +21,7 @@ Lower bit in cell masked to indicate pointer-to-free-cell.
21 21
 
22 22
 /* Calculate size of chunk data     "header"  */
23 23
 #define CHUNK_SIZE 4096
24  
-#define CELL_PER_CHUNK ((CHUNK_SIZE - 2 * sizeof(size_t) / sizeof (void *)))
  24
+#define CELL_PER_CHUNK ((CHUNK_SIZE - 2 * sizeof(size_t)) / sizeof (void *))
25 25
 
26 26
 typedef struct Parrot_Pointer_Array_Chunk {
27 27
     size_t   num_free;

0 notes on commit 9a7cfab

Please sign in to comment.
Something went wrong with that request. Please try again.