aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic_buffer/decode_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic_buffer/decode_buffer.c')
-rw-r--r--tests/basic_buffer/decode_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic_buffer/decode_buffer.c b/tests/basic_buffer/decode_buffer.c
index d231c916..fae9e2fa 100644
--- a/tests/basic_buffer/decode_buffer.c
+++ b/tests/basic_buffer/decode_buffer.c
@@ -60,7 +60,7 @@ bool print_person(pb_istream_t *stream)
int main()
{
- uint8_t buffer[512];
+ uint8_t buffer[Person_size];
pb_istream_t stream;
size_t count;