diff options
Diffstat (limited to 'docs/gettingstarted/developers')
-rw-r--r-- | docs/gettingstarted/developers/infrastructure.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/gettingstarted/developers/infrastructure.md b/docs/gettingstarted/developers/infrastructure.md index cae34fc7799..a61068c75cd 100644 --- a/docs/gettingstarted/developers/infrastructure.md +++ b/docs/gettingstarted/developers/infrastructure.md @@ -438,8 +438,9 @@ follows: ```c unformat_input_t input; + u8 *s = "<some-C-string>"; - unformat_init_string (&input, "<some-C-string>"); + unformat_init_string (&input, (char *) s, strlen((char *) s)); /* or */ unformat_init_vector (&input, <u8-vector>); ``` |