aboutsummaryrefslogtreecommitdiff
path: root/lib/memdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r--lib/memdebug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c
index f46d23b2a..6a9ee7bc5 100644
--- a/lib/memdebug.c
+++ b/lib/memdebug.c
@@ -49,7 +49,9 @@
struct memdebug {
int size;
- char mem[1];
+ double mem[1];
+ /* I'm hoping this is the thing with the strictest alignment
+ * requirements. That also means we waste some space :-( */
};
/*