Skip to content
This repository
Browse code

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

…o Ghedini
  • Loading branch information...
commit 76fd663e109223c5a383fb622a43f42d21ef624e 1 parent 446acba
cotto cotto authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  src/gc/fixed_allocator.h
3  src/gc/fixed_allocator.h
@@ -28,11 +28,12 @@ src/gc/fixed_allocator.h - implementation of allocator for small-size objects.
28 28
29 29 typedef struct Pool_Allocator_Free_List {
30 30 struct Pool_Allocator_Free_List * next;
31   -
  31 + char *dummy; /* fix alignment on ia64, mipsel and sparc, similar to gh issue #603 */
32 32 } Pool_Allocator_Free_List;
33 33
34 34 typedef struct Pool_Allocator_Arena {
35 35 struct Pool_Allocator_Arena * next;
  36 + char *dummy; /* fix alignment on ia64, mipsel and sparc, similar to gh issue #603 */
36 37 } Pool_Allocator_Arena;
37 38
38 39 typedef struct Pool_Allocator {

0 comments on commit 76fd663

Please sign in to comment.
Something went wrong with that request. Please try again.