Permalink
Browse files

fix alignment issues on ia64, sparc and mipsel, courtesy of Alessandr…

…o Ghedini
  • Loading branch information...
1 parent 446acba commit 76fd663e109223c5a383fb622a43f42d21ef624e @cotto cotto committed Apr 16, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gc/fixed_allocator.h
View
3 src/gc/fixed_allocator.h
@@ -28,11 +28,12 @@ src/gc/fixed_allocator.h - implementation of allocator for small-size objects.
typedef struct Pool_Allocator_Free_List {
struct Pool_Allocator_Free_List * next;
-
+ char *dummy; /* fix alignment on ia64, mipsel and sparc, similar to gh issue #603 */
} Pool_Allocator_Free_List;
typedef struct Pool_Allocator_Arena {
struct Pool_Allocator_Arena * next;
+ char *dummy; /* fix alignment on ia64, mipsel and sparc, similar to gh issue #603 */
} Pool_Allocator_Arena;
typedef struct Pool_Allocator {

0 comments on commit 76fd663

Please sign in to comment.