diff options
| author | Ha Thach <[email protected]> | 2024-04-24 23:13:30 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-24 23:13:30 +0700 |
| commit | 313d96677f8938ee67048d6aa8d666c9b87fad24 (patch) | |
| tree | 401be1107063a40910273710bf876732088defb8 /examples/host/bare_api | |
| parent | 0fb73eac7e058925cebf788f58d9f9f8e823d79b (diff) | |
| parent | 19f1080e381a81d5c56a0494b20c5c06475ffe42 (diff) | |
Merge pull request #2606 from hathach/build-clang
Add Clang support
Diffstat (limited to 'examples/host/bare_api')
| -rw-r--r-- | examples/host/bare_api/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/bare_api/src/main.c b/examples/host/bare_api/src/main.c index 14725996d..940840a30 100644 --- a/examples/host/bare_api/src/main.c +++ b/examples/host/bare_api/src/main.c @@ -420,5 +420,5 @@ static void print_utf16(uint16_t *temp_buf, size_t buf_len) { _convert_utf16le_to_utf8(temp_buf + 1, utf16_len, (uint8_t *) temp_buf, sizeof(uint16_t) * buf_len); ((uint8_t*) temp_buf)[utf8_len] = '\0'; - printf((char*)temp_buf); + printf("%s", (char*)temp_buf); } |
