xiaoxiang781216 commented on a change in pull request #5692:
URL: https://github.com/apache/incubator-nuttx/pull/5692#discussion_r821584212



##########
File path: libs/libc/stdio/lib_libvsprintf.c
##########
@@ -1176,6 +1123,60 @@ static int vsprintf_internal(FAR struct lib_outstream_s 
*stream,
               break;
 
             case 'p':
+              c = fmt_char(fmt);
+              switch (c)
+                {
+                  case 'V':
+                    {
+                      FAR struct va_format *vaf = (FAR void *)x;

Review comment:
       Why not? x will be unsigned long long in most arch, it's enough to 
contain all possible pointer value.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to