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



##########
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:
       I see
   ```
   #ifndef CONFIG_LIBC_LONG_LONG
             unsigned long x;
   #else
             unsigned long long x;
   ```
   So the question is: Is `unsigned long` is capable to carry full 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