Move 'format' into printbuffer

This commit is contained in:
Max Bruckner
2017-04-27 02:21:09 +02:00
parent 79f30800ec
commit c4c217f2ce
6 changed files with 47 additions and 38 deletions

View File

@@ -27,7 +27,7 @@
static void assert_print_string(const char *expected, const char *input)
{
unsigned char printed[1024];
printbuffer buffer = { 0, 0, 0, 0, 0 };
printbuffer buffer = { 0, 0, 0, 0, 0, 0 };
buffer.buffer = printed;
buffer.length = sizeof(printed);
buffer.offset = 0;