pkarashchenko commented on code in PR #7677: URL: https://github.com/apache/incubator-nuttx/pull/7677#discussion_r1031694312
########## libs/libc/stdio/lib_libvsprintf.c: ########## @@ -878,8 +878,32 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream, ndigs += 1; } - putc(ndigs, stream); - putc('0' + exp, stream); + /* Parse the ndigs if the value of it bigger than '9' */ + + while (1) Review Comment: Maybe better to ```suggestion while (ndigits > 0) ``` Or something like this. Just from some static alalyzers point of view -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org