commit | be5f9a77f8bc83a3f93d26a50acc047d2bbee908 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@linaro.org> | Thu Jul 27 10:12:58 2023 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 08 17:41:52 2023 -0400 |
tree | 032c0ee471ae53f081bd2976d6fd524e2e2ee523 | |
parent | bb34bc0c96168857d6b5127d3487223b0ea8cfa5 [diff] |
test: unicode: fix a sizeof() vs ARRAY_SIZE() bug The u16_strlcat() is in units of u16 not bytes. So the limit needs to be ARRAY_SIZE() instead of sizeof(). Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>