libs/vsprintf: fix the type issue

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-03-08 22:28:44 +08:00 committed by Petro Karashchenko
parent c6e636a871
commit 82f90e4c33

View File

@ -1160,7 +1160,7 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
if (c == 'S')
{
sprintf_internal(stream, "+%#x/%#x",
sprintf_internal(stream, "+%#jx/%#zx",
addr - symbol->sym_value,
symbolsize);
}