summaryrefslogtreecommitdiff
path: root/net/quagga/files/patch-lib-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/quagga/files/patch-lib-buffer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/quagga/files/patch-lib-buffer.c b/net/quagga/files/patch-lib-buffer.c
new file mode 100644
index 000000000000..61fda3c21d71
--- /dev/null
+++ b/net/quagga/files/patch-lib-buffer.c
@@ -0,0 +1,11 @@
+--- lib/buffer.c.orig Fri Feb 3 13:24:03 2006
++++ lib/buffer.c Fri Feb 3 13:24:15 2006
+@@ -53,7 +53,7 @@
+ size_t sp;
+
+ /* Actual data stream (variable length). */
+- unsigned char data[]; /* real dimension is buffer->size */
++ unsigned char *data; /* real dimension is buffer->size */
+ };
+
+ /* It should always be true that: 0 <= sp <= cp <= size */