lib_lib_vsprintf/backtrace: fix the type issue
using 't': For integer types, causes printf to expect a ptrdiff_t-sized integer argument. Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
d87cf8d4ca
commit
e93100cb4d
@ -1160,7 +1160,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
|
|||||||
|
|
||||||
if (c == 'S')
|
if (c == 'S')
|
||||||
{
|
{
|
||||||
sprintf_internal(stream, "+%#jx/%#zx",
|
sprintf_internal(stream, "+%#tx/%#zx",
|
||||||
addr - symbol->sym_value,
|
addr - symbol->sym_value,
|
||||||
symbolsize);
|
symbolsize);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user