summaryrefslogtreecommitdiffstats
path: root/tests/basic_buffer/decode_buffer.c
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-09-26 10:23:37 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-09-26 10:23:37 +0300
commit388d4de833cf4e2127b2ab0489cb6b14ecc0cbb5 (patch)
treef02cca531cd6ad210b1d3e57627e84f8feb3ac3a /tests/basic_buffer/decode_buffer.c
parent2363af29a238fb4fa17474c979a0f45cde617a9e (diff)
Add #defines for the maximum encoded message size.
Update issue 89 Status: FixedInGit
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;