Commit 9426aba4 authored by Paul Eggert's avatar Paul Eggert
Browse files

* alloc.c (which_symbols): Fix alignment issue / type clash.

parent d55c12ed
2012-04-16 Paul Eggert <eggert@cs.ucla.edu>
* alloc.c (which_symbols): Fix alignment issue / type clash.
2012-04-15 Andreas Schwab <schwab@linux-m68k.org> 2012-04-15 Andreas Schwab <schwab@linux-m68k.org>
* lisp.h (struct Lisp_Symbol): Remove explicit padding. * lisp.h (struct Lisp_Symbol): Remove explicit padding.
......
...@@ -6320,11 +6320,12 @@ which_symbols (Lisp_Object obj, EMACS_INT find_max) ...@@ -6320,11 +6320,12 @@ which_symbols (Lisp_Object obj, EMACS_INT find_max)
{ {
for (sblk = symbol_block; sblk; sblk = sblk->next) for (sblk = symbol_block; sblk; sblk = sblk->next)
{ {
struct Lisp_Symbol *sym = sblk->symbols; union aligned_Lisp_Symbol *aligned_sym = sblk->symbols;
int bn; int bn;
for (bn = 0; bn < SYMBOL_BLOCK_SIZE; bn++, sym++) for (bn = 0; bn < SYMBOL_BLOCK_SIZE; bn++, aligned_sym++)
{ {
struct Lisp_Symbol *sym = &aligned_sym->s;
Lisp_Object val; Lisp_Object val;
Lisp_Object tem; Lisp_Object tem;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment