[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r107915: * alloc.c (which_symbols): F
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r107915: * alloc.c (which_symbols): Fix alignment issue / type clash. |
Date: |
Sun, 15 Apr 2012 17:33:25 -0700 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107915
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Sun 2012-04-15 17:33:25 -0700
message:
* alloc.c (which_symbols): Fix alignment issue / type clash.
modified:
src/ChangeLog
src/alloc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-04-15 16:20:54 +0000
+++ b/src/ChangeLog 2012-04-16 00:33:25 +0000
@@ -1,3 +1,7 @@
+2012-04-16 Paul Eggert <address@hidden>
+
+ * alloc.c (which_symbols): Fix alignment issue / type clash.
+
2012-04-15 Andreas Schwab <address@hidden>
* lisp.h (struct Lisp_Symbol): Remove explicit padding.
=== modified file 'src/alloc.c'
--- a/src/alloc.c 2012-04-15 16:20:54 +0000
+++ b/src/alloc.c 2012-04-16 00:33:25 +0000
@@ -6320,11 +6320,12 @@
{
for (sblk = symbol_block; sblk; sblk = sblk->next)
{
- struct Lisp_Symbol *sym = sblk->symbols;
+ union aligned_Lisp_Symbol *aligned_sym = sblk->symbols;
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 tem;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r107915: * alloc.c (which_symbols): Fix alignment issue / type clash.,
Paul Eggert <=