Change strings offset size from 8 bits to 16 bits

This commit is contained in:
Ilmir Usmanov
2014-07-29 17:49:13 +04:00
parent bc9d80147a
commit e497875c06
13 changed files with 63 additions and 45 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ main( int __unused argc,
const char *strings[] = { "a",
"b" };
int nums [] = { 2 };
uint8_t offset = serializer_dump_strings( strings, 2);
uint16_t offset = serializer_dump_strings( strings, 2);
serializer_dump_nums( nums, 1, offset, 2);
init_int( test_program);