Created
June 16, 2017 17:41
-
-
Save aprieger-llnw/1cfc4f76359e36ff91c50595dc832afe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/kuser/kinit.c:583:5: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
if(abs(cred.times.endtime - cred.times.starttime - ticket_life) > 30) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/kuser/kinit.c:583:5: note: use function 'labs' instead | |
if(abs(cred.times.endtime - cred.times.starttime - ticket_life) > 30) { | |
^~~ | |
labs | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/kuser/kinit.c:591:5: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] | |
if(abs(cred.times.renew_till - cred.times.starttime - renew) > 30) { | |
^ | |
/usr/home/aprieger/repos/freebsd_master/freebsd/crypto/heimdal/kuser/kinit.c:591:5: note: use function 'labs' instead | |
if(abs(cred.times.renew_till - cred.times.starttime - renew) > 30) { | |
^~~ | |
labs | |
2 warnings generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment