gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Lots of warnings


From: Greg Troxel
Subject: Re: [gpsd-dev] Lots of warnings
Date: Wed, 10 Aug 2016 09:01:21 -0400
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix)

"Gary E. Miller" <address@hidden> writes:

>> timespec_str.c:48:12: warning: absolute value function 'labs' given
>> an argument of type 'const time_t' (aka 'const long long') but has
>> parameter of type 'long' which may cause truncation of value
>> [-Wabsolute-value] 
>
> Huh???  time_t is a long!

No.  time_t is an "arithmetic types of an appropriate length".

http://pubs.opengroup.org/onlinepubs/007908775/xsh/systypes.h.html

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]