mirror of
https://github.com/apache/nuttx.git
synced 2026-08-21 21:48:38 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -1160,7 +1160,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
|
|||
|
||||
if (c == 'S')
|
||||
{
|
||||
sprintf_internal(stream, "+%#jx/%#zx",
|
||||
sprintf_internal(stream, "+%#tx/%#zx",
|
||||
addr - symbol->sym_value,
|
||||
symbolsize);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue