Index: lib/buffer.c --- lib/buffer.c.orig 2005-12-02 12:02:17 +0100 +++ lib/buffer.c 2006-08-28 08:57:49 +0200 @@ -53,7 +53,7 @@ size_t sp; /* Actual data stream (variable length). */ - unsigned char data[]; /* real dimension is buffer->size */ + unsigned char data[0]; /* real dimension is buffer->size */ }; /* It should always be true that: 0 <= sp <= cp <= size */ Index: ospfd/ospf_api.c --- ospfd/ospf_api.c.orig 2005-12-02 12:02:18 +0100 +++ ospfd/ospf_api.c 2006-08-28 08:57:49 +0200 @@ -68,7 +68,7 @@ struct opaque_lsa { struct lsa_header header; - u_char mydata[]; + u_char mydata[0]; }; struct opaque_lsa *olsa;