Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Properly calculate CELL_PER_CHUNK.

  • Loading branch information...
commit 9a7cfabd75c82e447606fcca53c1fb98059c0a5e 1 parent a34696c
@bacek bacek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  include/parrot/pointer_array.h
View
2  include/parrot/pointer_array.h
@@ -21,7 +21,7 @@ Lower bit in cell masked to indicate pointer-to-free-cell.
/* Calculate size of chunk data "header" */
#define CHUNK_SIZE 4096
-#define CELL_PER_CHUNK ((CHUNK_SIZE - 2 * sizeof(size_t) / sizeof (void *)))
+#define CELL_PER_CHUNK ((CHUNK_SIZE - 2 * sizeof(size_t)) / sizeof (void *))
typedef struct Parrot_Pointer_Array_Chunk {
size_t num_free;
Please sign in to comment.
Something went wrong with that request. Please try again.