Skip to content
Snippets Groups Projects
Unverified Commit f8b8d0e3 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

uplink: Fix size computation for string render

parent dda13aec
No related branches found
No related tags found
No related merge requests found
......@@ -560,7 +560,7 @@ uint8_t *uplink_render_alloc(size_t *length, size_t extra_space, struct mem_pool
switch (*command) {
case 's':
va_arg(args, const char *); // The buffer itself
l += va_arg(args, size_t);
l += va_arg(args, size_t) + sizeof(uint32_t);
break;
case 'u':
va_arg(args, uint32_t);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment