Source: gpstrans
Version: 0.41-8
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=gpstrans&arch=armhf&ver=0.41-9&stamp=1722968020&raw=0

...
sendgpsinfo.c: In function ‘doWaypoint’:
sendgpsinfo.c:646:46: error: passing argument 1 of ‘ctime’ from incompatible 
pointer type [-Wincompatible-pointer-types]
  646 |       if(pkt.has.seconds) printf("%s", ctime(&pkt.seconds));
      |                                              ^~~~~~~~~~~~
      |                                              |
      |                                              long int *
In file included from /usr/include/features.h:502,
                 from 
/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from ../include/defs.h:1,
                 from sendgpsinfo.c:33:
/usr/include/time.h:187:14: note: expected ‘const time_t *’ {aka ‘const long 
long int *’} but argument is of type ‘long int *’
  187 | extern char *__REDIRECT_NTH (ctime, (const time_t *__timer), __ctime64);
      |              ^~~~~~~~~~~~~~
...

Reply via email to