summaryrefslogtreecommitdiff
blob: 024129ffa958febe2e198c0ecd583ad133c0643e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
the mksquashfs code has an all_zeros func that does:
	long *p = (long *) file_buffer->data;

make sure we force the data field to be aligned so that still works.

--- a/squashfs-tools/caches-queues-lists.h
+++ b/squashfs-tools/caches-queues-lists.h
@@ -123,6 +123,7 @@ struct file_buffer {
 	char locked;
 	char wait_on_unlock;
 	char noD;
+	long _pad;
 	char data[0];
 };