You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/03/09 03:30:12 UTC

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 opened a new pull request #116: examples/tcpblaster: Fix the nightly build warning

xiaoxiang781216 opened a new pull request #116: examples/tcpblaster: Fix the nightly build warning
URL: https://github.com/apache/incubator-nuttx-apps/pull/116
 
 
   tcpblaster_server.c: In function 'tcpblaster_server':
   tcpblaster_server.c:256:71: warning: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
              strftime(timebuff, 100, "%Y-%m-%d %H:%M:%S.000", localtime (&curr));
                                                                          ^
   In file included from tcpblaster_server.c:50:0:
   /usr/include/time.h:123:19: note: expected 'const time_t * {aka const long int *}' but argument is of type 'struct timespec *'
    extern struct tm *localtime (const time_t *__timer) __THROW;
                      ^~~~~~~~~
   tcpblaster_client.c: In function 'tcpblaster_client':
   tcpblaster_client.c:230:71: warning: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
              strftime(timebuff, 100, "%Y-%m-%d %H:%M:%S.000", localtime (&curr));
                                                                          ^
   Signed-off-by: Xiang Xiao <xi...@xiaomi.com>

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-apps] jerpelea merged pull request #116: examples/tcpblaster: Fix the nightly build warning

Posted by GitBox <gi...@apache.org>.
jerpelea merged pull request #116: examples/tcpblaster: Fix the nightly build warning
URL: https://github.com/apache/incubator-nuttx-apps/pull/116
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services