| commit | d52981765df067dc7c846f75fb59d8049f6ebb74 | [log] [tgz] |
|---|---|---|
| author | liuhaitao <liuhaitao@xiaomi.com> | Fri Apr 17 10:03:10 2020 +0800 |
| committer | Ouss4 <abdelatif.guettouche@gmail.com> | Fri Apr 17 14:14:39 2020 +0100 |
| tree | 7d0374cb95aca00b31d248830e2e98179fb962ed | |
| parent | b8dc15f646061405f7f90740d6281d03e1bb5cd9 [diff] |
Fix bas_program.c build warning under macos
bas_program.c:234:35: error: adding 'size_t' (aka 'unsigned long') to a string does not append to the string [-Werror,-Wstring-plus-int]
FS_putChars(chn, " " + len);
~~~~~~~~~~~^~~~~
bas_program.c:234:35: note: use array indexing to silence this warning
FS_putChars(chn, " " + len);
^
& [ ]
1 error generated.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>