diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/alloc.c b/src/alloc.c index f9bcaed0117..2c2232601cb 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4058,7 +4058,7 @@ live_string_p (struct mem_node *m, void *p) | |||
| 4058 | { | 4058 | { |
| 4059 | if (m->type == MEM_TYPE_STRING) | 4059 | if (m->type == MEM_TYPE_STRING) |
| 4060 | { | 4060 | { |
| 4061 | struct string_block *b = (struct string_block *) m->start; | 4061 | struct string_block *b = m->start; |
| 4062 | ptrdiff_t offset = (char *) p - (char *) &b->strings[0]; | 4062 | ptrdiff_t offset = (char *) p - (char *) &b->strings[0]; |
| 4063 | 4063 | ||
| 4064 | /* P must point to the start of a Lisp_String structure, and it | 4064 | /* P must point to the start of a Lisp_String structure, and it |
| @@ -4081,7 +4081,7 @@ live_cons_p (struct mem_node *m, void *p) | |||
| 4081 | { | 4081 | { |
| 4082 | if (m->type == MEM_TYPE_CONS) | 4082 | if (m->type == MEM_TYPE_CONS) |
| 4083 | { | 4083 | { |
| 4084 | struct cons_block *b = (struct cons_block *) m->start; | 4084 | struct cons_block *b = m->start; |
| 4085 | ptrdiff_t offset = (char *) p - (char *) &b->conses[0]; | 4085 | ptrdiff_t offset = (char *) p - (char *) &b->conses[0]; |
| 4086 | 4086 | ||
| 4087 | /* P must point to the start of a Lisp_Cons, not be | 4087 | /* P must point to the start of a Lisp_Cons, not be |
| @@ -4107,7 +4107,7 @@ live_symbol_p (struct mem_node *m, void *p) | |||
| 4107 | { | 4107 | { |
| 4108 | if (m->type == MEM_TYPE_SYMBOL) | 4108 | if (m->type == MEM_TYPE_SYMBOL) |
| 4109 | { | 4109 | { |
| 4110 | struct symbol_block *b = (struct symbol_block *) m->start; | 4110 | struct symbol_block *b = m->start; |
| 4111 | ptrdiff_t offset = (char *) p - (char *) &b->symbols[0]; | 4111 | ptrdiff_t offset = (char *) p - (char *) &b->symbols[0]; |
| 4112 | 4112 | ||
| 4113 | /* P must point to the start of a Lisp_Symbol, not be | 4113 | /* P must point to the start of a Lisp_Symbol, not be |
| @@ -4133,7 +4133,7 @@ live_float_p (struct mem_node *m, void *p) | |||
| 4133 | { | 4133 | { |
| 4134 | if (m->type == MEM_TYPE_FLOAT) | 4134 | if (m->type == MEM_TYPE_FLOAT) |
| 4135 | { | 4135 | { |
| 4136 | struct float_block *b = (struct float_block *) m->start; | 4136 | struct float_block *b = m->start; |
| 4137 | ptrdiff_t offset = (char *) p - (char *) &b->floats[0]; | 4137 | ptrdiff_t offset = (char *) p - (char *) &b->floats[0]; |
| 4138 | 4138 | ||
| 4139 | /* P must point to the start of a Lisp_Float and not be | 4139 | /* P must point to the start of a Lisp_Float and not be |
| @@ -4157,7 +4157,7 @@ live_misc_p (struct mem_node *m, void *p) | |||
| 4157 | { | 4157 | { |
| 4158 | if (m->type == MEM_TYPE_MISC) | 4158 | if (m->type == MEM_TYPE_MISC) |
| 4159 | { | 4159 | { |
| 4160 | struct marker_block *b = (struct marker_block *) m->start; | 4160 | struct marker_block *b = m->start; |
| 4161 | ptrdiff_t offset = (char *) p - (char *) &b->markers[0]; | 4161 | ptrdiff_t offset = (char *) p - (char *) &b->markers[0]; |
| 4162 | 4162 | ||
| 4163 | /* P must point to the start of a Lisp_Misc, not be | 4163 | /* P must point to the start of a Lisp_Misc, not be |
| @@ -4184,7 +4184,7 @@ live_vector_p (struct mem_node *m, void *p) | |||
| 4184 | if (m->type == MEM_TYPE_VECTOR_BLOCK) | 4184 | if (m->type == MEM_TYPE_VECTOR_BLOCK) |
| 4185 | { | 4185 | { |
| 4186 | /* This memory node corresponds to a vector block. */ | 4186 | /* This memory node corresponds to a vector block. */ |
| 4187 | struct vector_block *block = (struct vector_block *) m->start; | 4187 | struct vector_block *block = m->start; |
| 4188 | struct Lisp_Vector *vector = (struct Lisp_Vector *) block->data; | 4188 | struct Lisp_Vector *vector = (struct Lisp_Vector *) block->data; |
| 4189 | 4189 | ||
| 4190 | /* P is in the block's allocation range. Scan the block | 4190 | /* P is in the block's allocation range. Scan the block |