summaryrefslogtreecommitdiff
path: root/lib/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/buffer.c')
-rw-r--r--lib/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buffer.c b/lib/buffer.c
index 81cd0f2a..f19a9e0c 100644
--- a/lib/buffer.c
+++ b/lib/buffer.c
@@ -53,7 +53,7 @@ struct buffer_data
size_t sp;
/* Actual data stream (variable length). */
- unsigned char data[0]; /* real dimension is buffer->size */
+ unsigned char data[]; /* real dimension is buffer->size */
};
/* It should always be true that: 0 <= sp <= cp <= size */