Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1192518

Bug#1068089: FTBFS: error: cannot convert ‘long int*’ to ‘const time_t*’ {aka ‘const long long int*’}

From Andrey Rakhmatullin <wrar@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1068089: FTBFS: error: cannot convert ‘long int*’ to ‘const time_t*’ {aka ‘const long long int*’}
Date 2024-03-31 20:20 +0200
Message-ID <Io7WF-34Lk-9@gated-at.bofh.it> (permalink)
References <InG0p-2KQJ-3@gated-at.bofh.it> <InG0p-2KQJ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Mar 30, 2024 at 05:25:21PM +0500, Andrey Rakhmatullin wrote:
> plugins/about/aboutinterface.cpp: In member function ‘char*
> AboutInterface::ntpdate(char*)’:
> plugins/about/aboutinterface.cpp:438:18: error: cannot convert ‘long int*’ to
> ‘const time_t*’ {aka ‘const long long int*’}
>   438 |     return ctime(&tmit);
The code talks to the network (implementing the NTP protocol I guess?) and
so it's probably fragile. The comment suggests tmit is explicitly not a
time_t.

-- 
WBR, wRAR

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1068089: FTBFS: error: cannot convert ‘long int*’ to ‘const time_t*’ {aka ‘const long long int*’} Andrey Rakhmatullin <wrar@debian.org> - 2024-03-30 13:30 +0100
  Bug#1068089: FTBFS: error: cannot convert ‘long int*’ to ‘const time_t*’ {aka ‘const long long int*’} Andrey Rakhmatullin <wrar@debian.org> - 2024-03-31 20:20 +0200

csiph-web