aboutsummaryrefslogtreecommitdiff
path: root/lib/linestack.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/linestack.c')
-rw-r--r--lib/linestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/linestack.c b/lib/linestack.c
index b533c1f8..99807ccf 100644
--- a/lib/linestack.c
+++ b/lib/linestack.c
@@ -43,8 +43,8 @@ void linestack_insert(struct linestack **lls, long pos, char *line, long len)
// This allocates enough memory for the linestack to have one ptr_len.
// (Even if a compiler adds gratuitous padidng that just makes it bigger.)
struct {
- struct linestack ls;
struct ptr_len pl;
+ struct linestack ls;
} ls;
ls.ls.len = ls.ls.max = 1;