From 388d4de833cf4e2127b2ab0489cb6b14ecc0cbb5 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Thu, 26 Sep 2013 10:23:37 +0300 Subject: Add #defines for the maximum encoded message size. Update issue 89 Status: FixedInGit --- tests/basic_buffer/decode_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/basic_buffer/decode_buffer.c') 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; -- cgit 1.2.3-korg