svn commit: r317208 - head/sys/netinet

Michael Tuexen tuexen at freebsd.org
Fri Apr 21 06:09:11 UTC 2017


> On 21. Apr 2017, at 03:43, Cy Schubert <Cy.Schubert at komquats.com> wrote:
> 
> In message <201704201919.v3KJJYko052651 at repo.freebsd.org>, Michael Tuexen 
> writes:
> 
[...]
> Hi Michael,
> 
> This line produced the following on i386:
> 
> /opt/src/svn-current/sys/netinet/tcp_syncache.c:263:50: error: implicit 
> conversion from 'long long' to 'time_t' (aka 'int') changes value from 
> -9223372036854775808 to 0 [-Werror,-Wconstant-conversion]
>                V_tcp_syncache.hashbase[i].sch_last_overflow = INT64_MIN;
>                                                             ~ ^~~~~~~~~
> ./x86/_stdint.h:91:41: note: expanded from macro 'INT64_MIN'
> #define INT64_MIN       (-0x7fffffffffffffffLL-1)
>                         ~~~~~~~~~~~~~~~~~~~~~^~
> 
> Looks like it needs a time_t cast.
Fixed in https://svnweb.freebsd.org/changeset/base/317244.

Thanks for reporting and sorry for the breakage.

Best regards
Michael
> 
>> [...]
> 
> 
> -- 
> Cheers,
> Cy Schubert <Cy.Schubert at cschubert.com>
> FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org
> 
> 	The need of the many outweighs the greed of the few.
> 
> 
> 



More information about the svn-src-all mailing list